Hi Alan,

Thanks for the pointer! I was not aware that my name is on the list of 
discussion topics. :-)

I will check out how to contribute to the JSR. I have an idea to "relax" this a 
bit but still not allow loading private stuff. My idea would be that you can 
read resources and class byte code from exported packages, but not from hidden 
packages. This would hide resources/class files in jdk.internal packages, but 
it would allow code to load resources (or class files) from java.lang or 
similar.

Uwe

-----
Uwe Schindler
uschind...@apache.org 
ASF Member, Apache Lucene PMC / Committer
Bremen, Germany
http://lucene.apache.org/

> -----Original Message-----
> From: Alan Bateman [mailto:alan.bate...@oracle.com]
> Sent: Saturday, April 16, 2016 10:31 PM
> To: Uwe Schindler <uschind...@apache.org>; jigsaw-dev@openjdk.java.net
> Subject: Re: running Groovy on JDK9
> 
> 
> On 16/04/2016 18:16, Uwe Schindler wrote:
> > :
> >
> > I would like to have an explanation by the OpenJDK developers, why Jigsaw
> no longer returns jrt:// URL in ClassLoader#getResource on foreign modules -
> what the reason for this?
> >
> This has come up several times and is tracked as #ClassFilesAsResources
> [1] and #ResourceEncapsulation [2] on the JSR issues list. We have to
> hold back changing here until there is discussion in the JSR on these
> topics.
> 
> -Alan
> 
> [1]
> http://openjdk.java.net/projects/jigsaw/spec/issues/#ClassFilesAsResource
> s
> [2]
> http://openjdk.java.net/projects/jigsaw/spec/issues/#ResourceEncapsulati
> on

Reply via email to