RFR 8190939: JShell: gives a compiler error evaluating an expression of inaccessible type

Jan Lahoda jan.lahoda at oracle.com
Wed Nov 15 20:24:55 UTC 2017


Hi Robert,

Looking at:
http://cr.openjdk.java.net/~rfield/8190939v0.webrev/src/jdk.jshell/share/classes/jdk/jshell/ExpressionToTypeInfo.java.udiff.html

isAccessible is handling immediate recursion on types, but is not 
preventing recursion with intermediate types (as I think is noted in the 
comment). Can the recursion with intermediate types happen?

Thanks,
     Jan


More information about the kulla-dev mailing list