Review request on the optional modules support

Jesse Glick jesse.glick at oracle.com
Tue Aug 9 07:56:47 PDT 2011


On 08/09/2011 09:29 AM, Alan Bateman wrote:
> I'm not sure that anything useful could run without java.lang.Class being present

Certainly not. The point would merely be to forbid reflection-related APIs from being referenced from another module unless the java.lang.reflect module was explicitly 
imported. But perhaps this is a deeper property of the calling code than can be captured by API signatures - the Java language and bytecode definition includes inherently 
reflective operations like instanceof.



More information about the jigsaw-dev mailing list