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

javax/swing/JFileChooser/8062561/bug8062561.java fails

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9, 10, 11
    • 17
    • client-libs

    Description

      Seen with JDK 10 + 11 on Ubuntu 16.04 :

      ----------System.out:(0/0)----------
      ----------System.err:(14/1096)----------
      java.lang.RuntimeException: File system default directory must be null! (FilePermission has not been granted in our policy file).
      at bug8062561.checkDefaultDirectory(bug8062561.java:78)
      at bug8062561.main(bug8062561.java:60)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: File system default directory must be null! (FilePermission has not been granted in our policy file).
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: File system default directory must be null! (FilePermission has not been granted in our policy file).

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              prr Philip Race
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: