Missing slash on Java 9’s LogManager.getLogger() / Logger.getHandlers() seems to cause an exception
问题 I am seeing a problem with an Applet on Windows, running Java 9, when I am trying to create a log file C:\Users\cardal\ApplicationLog.html. The code works fine on Java 8. The code does LogManager.readConfiguration () and LogManager.getLogger(). Then Logger.getHandlers() hits an exception. It looks like the first slash is getting removed by mistake: Can't load log handler "java.util.logging.FileHandler" java.nio.file.NoSuchFileException: C:Users\cardal\ApplicationLog.html.lck java.nio.file