$ CONF=linux-x86_64-server-fastdebug make test TEST=java/net/spi/InetAddressResolverProvider/RuntimePermissionTest.java TEST_VM_OPTS="-XX:+UseShenandoahGC -XX:TieredStopAtLevel=1"
STDOUT:
test RuntimePermissionTest.noRuntimePermission(): failure
java.lang.StackOverflowError
at java.base/java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk(Native Method)
at java.base/java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk(StackStreamFactory.java:410)
at java.base/java.lang.StackStreamFactory$AbstractStackWalker.walkHelper(StackStreamFactory.java:261)
at java.base/java.lang.StackStreamFactory$AbstractStackWalker.walk(StackStreamFactory.java:253)
at java.base/java.lang.StackWalker.walk(StackWalker.java:589)
at java.logging/java.util.logging.LogRecord$CallerFinder.get(LogRecord.java:784)
at java.logging/java.util.logging.LogRecord.inferCaller(LogRecord.java:757)
at java.logging/java.util.logging.LogRecord.getSourceClassName(LogRecord.java:351)
at java.logging/java.util.logging.SimpleFormatter.format(SimpleFormatter.java:163)
at java.logging/java.util.logging.StreamHandler.publish0(StreamHandler.java:241)
at java.logging/java.util.logging.StreamHandler.publish(StreamHandler.java:224)
at java.logging/java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:95)
at java.logging/java.util.logging.Logger.log(Logger.java:983)
at java.logging/java.util.logging.Logger.doLog(Logger.java:1010)
at java.logging/java.util.logging.Logger.log(Logger.java:1033)
at java.logging/java.util.logging.Logger.info(Logger.java:1806)
at RuntimePermissionTest$TestSecurityManager.checkPermission(RuntimePermissionTest.java:88)
at java.base/java.lang.Module.getClassLoader(Module.java:218)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at java.base/java.lang.Class.forName(Class.java:622)
at java.base/java.lang.Class.forName(Class.java:603)
at java.base/sun.util.resources.Bundles.findBundleOf(Bundles.java:205)
at java.base/sun.util.resources.Bundles.findBundleOf(Bundles.java:160)
at java.base/sun.util.resources.Bundles.findBundleOf(Bundles.java:160)