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

Test TestPinCaseWithCFLH.java fails with -Xcomp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 24
    • None
    • hotspot
    • None
    • generic
    • linux

      Test serviceability/jvmti/vthread/TestPinCaseWithCFLH/TestPinCaseWithCFLH.java fails with -Xcomp jvm option, the test log snippet:
      Error: A JNI error has occurred, please check your installation and try again
      Exception in thread "main" java.lang.ExceptionInInitializerError
      at java.base/sun.launcher.LauncherHelper.getLocalizedMessage(LauncherHelper.java:530)
      at java.base/sun.launcher.LauncherHelper.abort(LauncherHelper.java:697)
      at java.base/sun.launcher.LauncherHelper.loadMainClass(LauncherHelper.java:872)
      at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:736)
      Caused by: java.util.MissingResourceException: Can't find bundle for base name sun.launcher.resources.launcher, locale en_US
      at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2052)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1690)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1582)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1548)
      at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:858)
      at java.base/sun.launcher.LauncherHelper$ResourceBundleHolder.<clinit>(LauncherHelper.java:123)
      ... 4 more
      Caused by: java.lang.ClassCircularityError: java/util/concurrent/ConcurrentHashMap$ForwardingNode
      at java.base/java.util.concurrent.ConcurrentHashMap.transfer(ConcurrentHashMap.java:2446)
      at java.base/java.util.concurrent.ConcurrentHashMap.addCount(ConcurrentHashMap.java:2359)
      at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1076)
      at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1007)
      at java.base/java.util.Properties.put(Properties.java:1347)
      at java.base/java.util.Properties.load0(Properties.java:459)
      at java.base/java.util.Properties.load(Properties.java:410)
      at java.base/java.security.Security.loadProps(Security.java:157)
      at java.base/java.security.Security.initialize(Security.java:103)
      at java.base/java.security.Security.lambda$static$0(Security.java:84)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
      at java.base/java.security.Security.<clinit>(Security.java:83)
      at java.base/sun.security.util.SecurityProperties.getOverridableProperty(SecurityProperties.java:57)
      at java.base/sun.security.util.SecurityProperties.privilegedGetOverridable(SecurityProperties.java:48)
      at java.base/sun.security.util.SecurityProperties.includedInExceptions(SecurityProperties.java:72)
      at java.base/sun.security.util.SecurityProperties.<clinit>(SecurityProperties.java:36)
      at java.base/sun.security.util.FilePermCompat.<clinit>(FilePermCompat.java:43)
      at java.base/java.security.AccessControlContext.<init>(AccessControlContext.java:270)
      at java.base/java.security.AccessController.createWrapper(AccessController.java:649)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:461)
      at java.base/java.util.ResourceBundle$ResourceBundleProviderHelper.loadResourceBundle(ResourceBundle.java:3617)
      at java.base/java.util.ResourceBundle.loadBundle(ResourceBundle.java:1844)
      at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1775)
      at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1729)
      at java.base/java.util.ResourceBundle.findBundle(ResourceBundle.java:1729)
      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1663)

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: