java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants

JDK Bug System | Amy Lu | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java/lang/String/concat/WithSecurityManager.java fails after JDK-8163878, on all platforms. #section:main ----------messages:(4/194)---------- command: main -Xverify:all WithSecurityManager reason: User specified action: run main/othervm -Xverify:all WithSecurityManager Mode: othervm [/othervm specified] elapsed time (seconds): 0.855 ----------configuration:(0/0)---------- ----------System.out:(0/0)---------- ----------System.err:(64/5072)---------- java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at WithSecurityManager.main(WithSecurityManager.java:61) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 20 more JavaTest Message: Test threw exception: java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants JavaTest Message: shutting down test java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:118) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 15 more Exception: java.lang.BootstrapMethodError thrown from the UncaughtExceptionHandler in thread "MainThread" Exception in thread "main" java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants at WithSecurityManager$1.checkPermission(WithSecurityManager.java:57) at java.lang.SecurityManager.checkRead(java.base@9-ea/SecurityManager.java:887) at java.io.File.exists(java.base@9-ea/File.java:815) at jdk.internal.loader.URLClassPath$FileLoader.getResource(java.base@9-ea/URLClassPath.java:1039) at jdk.internal.loader.URLClassPath.getResource(java.base@9-ea/URLClassPath.java:216) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:463) at jdk.internal.loader.BuiltinClassLoader$3.run(java.base@9-ea/BuiltinClassLoader.java:460) at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) at jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(java.base@9-ea/BuiltinClassLoader.java:459) at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:406) at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:364) at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185) at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419) at com.sun.javatest.regtest.agent.MainWrapper.main(MainWrapper.java:81) Caused by: java.lang.ExceptionInInitializerError: makeConcatWithConstants ... 14 more

    JDK Bug System | 9 months ago | Amy Lu
    java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError: makeConcatWithConstants

    Root Cause Analysis

    1. java.lang.BootstrapMethodError

      java.lang.ExceptionInInitializerError: makeConcatWithConstants

      at WithSecurityManager$1.checkPermission()
    2. Unknown
      WithSecurityManager.main
      1. WithSecurityManager$1.checkPermission(WithSecurityManager.java:57)
      2. WithSecurityManager.main(WithSecurityManager.java:61)
      2 frames