Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8150344

java/util/logging/FileHandlerLongLimit.java fails with FileNotFoundException

XMLWordPrintable

      Failed to delete C:\\local\\aurora\\sandbox\\results\\workDir\\java\\util\\logging\\FileHandlerLongLimit\\FileHandler-afa99581-7811-421a-b75e-8b160eed165f.log: java.nio.file.AccessDeniedException: C:\\local\\aurora\\sandbox\\results\\workDir\\java\\util\\logging\\FileHandlerLongLimit\\FileHandler-afa99581-7811-421a-b75e-8b160eed165f.log
      java.lang.RuntimeException: Unexpected exception received: java.io.FileNotFoundException: FileHandler-afa99581-7811-421a-b75e-8b160eed165f.log (Access is denied)
      at FileHandlerLongLimit.checkException(FileHandlerLongLimit.java:267)
      at FileHandlerLongLimit.test(FileHandlerLongLimit.java:437)
      at FileHandlerLongLimit$TestCase.run(FileHandlerLongLimit.java:74)
      at FileHandlerLongLimit.main(FileHandlerLongLimit.java:158)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)
      Caused by: java.io.FileNotFoundException: FileHandler-afa99581-7811-421a-b75e-8b160eed165f.log (Access is denied)
      at java.io.FileOutputStream.open0(Native Method)
      at java.io.FileOutputStream.open(FileOutputStream.java:271)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:215)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:136)
      at java.util.logging.FileHandler.open(FileHandler.java:210)
      at java.util.logging.FileHandler.openFiles(FileHandler.java:578)
      at java.util.logging.FileHandler.<init>(FileHandler.java:440)
      at FileHandlerLongLimit.lambda$test$13(FileHandlerLongLimit.java:438)
      at FileHandlerLongLimit.testFileHandlerLimit(FileHandlerLongLimit.java:334)
      at FileHandlerLongLimit.lambda$test$14(FileHandlerLongLimit.java:437)
      at FileHandlerLongLimit.checkException(FileHandlerLongLimit.java:251)
      ... 9 more

            dfuchs Daniel Fuchs
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: