I run the program directly (not from jtreg) and the result is different: Exception in thread "main" java.lang.BootstrapMethodError: call site initialization exception at SSL.checkPermission(SSL.java:21) 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 SSL.main(SSL.java:28)
Then I add -Djava.security.debug=all, and the exact old exception is back! The debug output [1] has nothing special, in fact there is no difference if I substitute SQLPermission to AllPermission, except that with AllPermission the program runs fine. Thanks Max [1] https://gist.github.com/wangweij/b7d031dea470000c456b169f1e733eac > On Jul 7, 2016, at 11:02 AM, Peter Firmstone <peter.firmst...@zeus.net.au> > wrote: > > Have you tried setting the jvm in security debug mode to see else might be > occurring? If so can you send the output? > > Regards, > > Peter. > > Sent from my Samsung device.