A test to demonstrate how JDK-8161101 fails, initially in the problem list. It should be removed from the problem list when JDK-8161101 is resolved.
Comments
Checking in a failing (albeit excluded) test is a big strange. Instead, the test case is added as a comment to the main bug.
11-07-2016
The exception thrown by the test:
java.lang.IllegalStateException: Recursive update
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(java.base@9-ea/ConcurrentHashMap.java:1767)
at jdk.internal.loader.BuiltinClassLoader.moduleReaderFor(java.base@9-ea/BuiltinClassLoader.java:727)
at jdk.internal.loader.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:484)
at jdk.internal.loader.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9-ea/BuiltinClassLoader.java:449)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(java.base@9-ea/BuiltinClassLoader.java:450)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:390)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:425)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:394)
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 NonPrivileged.checkPermission(NonPrivileged.java:40)
at java.lang.SecurityManager.checkPropertyAccess(java.base@9-ea/SecurityManager.java:1285)
at java.lang.System.getProperty(java.base@9-ea/System.java:762)
at sun.security.action.GetPropertyAction.run(java.base@9-ea/GetPropertyAction.java:87)
at sun.security.action.GetPropertyAction.run(java.base@9-ea/GetPropertyAction.java:53)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at sun.security.action.GetPropertyAction.privilegedGetProperty(java.base@9-ea/GetPropertyAction.java:107)
at sun.net.www.protocol.jrt.JavaRuntimeURLConnection.getPermission(java.base@9-ea/JavaRuntimeURLConnection.java:164)
at java.lang.module.SystemModuleFinder$ImageModuleReader.checkPermissionToConnect(java.base@9-ea/SystemModuleFinder.java:258)
at java.lang.module.SystemModuleFinder$ImageModuleReader.<init>(java.base@9-ea/SystemModuleFinder.java:266)
at java.lang.module.SystemModuleFinder$1.get(java.base@9-ea/SystemModuleFinder.java:174)
at java.lang.module.SystemModuleFinder$1.get(java.base@9-ea/SystemModuleFinder.java:171)
at java.lang.module.ModuleReference.open(java.base@9-ea/ModuleReference.java:163)
at jdk.internal.loader.BuiltinClassLoader.createModuleReader(java.base@9-ea/BuiltinClassLoader.java:735)
at jdk.internal.loader.BuiltinClassLoader.lambda$moduleReaderFor$3(java.base@9-ea/BuiltinClassLoader.java:727)
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(java.base@9-ea/ConcurrentHashMap.java:1716)
at jdk.internal.loader.BuiltinClassLoader.moduleReaderFor(java.base@9-ea/BuiltinClassLoader.java:727)
at jdk.internal.loader.BuiltinClassLoader.defineClass(java.base@9-ea/BuiltinClassLoader.java:484)
at jdk.internal.loader.BuiltinClassLoader.lambda$findClassInModuleOrNull$2(java.base@9-ea/BuiltinClassLoader.java:449)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
at jdk.internal.loader.BuiltinClassLoader.findClassInModuleOrNull(java.base@9-ea/BuiltinClassLoader.java:450)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:390)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:425)
at jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(java.base@9-ea/BuiltinClassLoader.java:394)
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 NonPrivileged.checkPermission(NonPrivileged.java:40)
at java.lang.SecurityManager.checkPropertyAccess(java.base@9-ea/SecurityManager.java:1285)
at java.lang.System.getProperty(java.base@9-ea/System.java:762)
at NonPrivileged.main(NonPrivileged.java:47)
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:533)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)