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

(prefs) CodePointZeroPrefsTest fails on certain platforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Environment:

      Mac OS x64
      Window x86 and x64

    • Subcomponent:
    • Resolved In Build:
      b56

      Backports

        Description

        From JPRT logs

        macosx_x64_10.7-product-c2-jdk_util:
        java.lang.UnsatisfiedLinkError: java.util.prefs.FileSystemPreferences.chmod(Ljava/lang/String;I)I
        at java.util.prefs.FileSystemPreferences.chmod(Native Method)
        at java.util.prefs.FileSystemPreferences.access$100(FileSystemPreferences.java:50)
        at java.util.prefs.FileSystemPreferences$1.run(FileSystemPreferences.java:125)
        at java.util.prefs.FileSystemPreferences$1.run(FileSystemPreferences.java:116)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.util.prefs.FileSystemPreferences.setupUserRoot(FileSystemPreferences.java:116)
        at java.util.prefs.FileSystemPreferences.getUserRoot(FileSystemPreferences.java:109)
        at java.util.prefs.FileSystemPreferencesFactory.userRoot(FileSystemPreferencesFactory.java:41)
        at CodePointZeroPrefsTest.main(CodePointZeroPrefsTest.java:44)
        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:502)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:776)
        at java.lang.Thread.run(Thread.java:745)

        windows_i586_6.1-product-c1-jdk_util:
        STDERR:
        java.lang.ClassNotFoundException: java.util.prefs.FileSystemPreferencesFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:286)
        at CodePointZeroPrefsTest.main(CodePointZeroPrefsTest.java:40)
        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:502)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:776)
        at java.lang.Thread.run(Thread.java:745)

        windows_x64_6.1-product-c2-jdk_util:
        java.lang.ClassNotFoundException: java.util.prefs.FileSystemPreferencesFactory
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:286)
        at CodePointZeroPrefsTest.main(CodePointZeroPrefsTest.java:40)
        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:502)
        at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:776)
        at java.lang.Thread.run(Thread.java:745)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                bpb Brian Burkhalter
                Reporter:
                bpb Brian Burkhalter
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: