trySetAccessible​

Jochen Theodorou blackdrag at gmx.org
Sun Jul 9 23:16:58 UTC 2017


Hi all,

since the JVM now prints warnings if you call setAccssible there was the 
advise to move to trySetAccessible​ to prvent these warnings. Now I am 
told those warnings appear here as well.

Now my question would be about what the intended behaviour here is. in 
what mode is a trySetAccessible​ supposed to cause the JVM to issue a 
warning or other message about a module accessing something?

And if the warnings are the intended behaviour, then what is the way to 
avoid this if I cannot just stop trying?

bye Jochen


More information about the jigsaw-dev mailing list