JDK-8163946 : java/lang/String/concat/WithSecurityManager.java fails after 8163878
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-08-12
  • Updated: 2024-07-16
  • Resolved: 2016-08-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b132Fixed
Related Reports
Relates :  
Description
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
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/d755483dc031 User: lana Date: 2016-08-17 19:39:53 +0000
17-08-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/d755483dc031 User: redestad Date: 2016-08-12 15:41:57 +0000
12-08-2016