jdk.zipfs?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 20 03:41:00 PDT 2012


On 2012-04-20 11:39, Alan Bateman wrote:
> On 20/04/2012 10:11, Magnus Ihse Bursie wrote:
>> So should the source code really be in demos, then?
>>
>> /Magnus
>>
> The zip file system provider serves two purposes, one is as a 
> demo/sample provider (that is why it has the BSD license), the other 
> as a file system provider that works "out of the box". The HPROF agent 
> is another case where it is included as JVM TI demo/sample code, and 
> also pre-compiled so that it works out of the box. I've heard 
> suggestions in the past that demo/sample code should not be in the jdk 
> repository but it will be awkward for these cases like this.

Ok, fine, we distribute a pre-compiled demo which people use "out of the 
box". You can argue about that, but, well, fine.

However, the jdk.jre module-info.java lists jdk.zipfs as an non-optional 
requirement. This does not seem sane, and sounds like a modularization 
"bug" to me.

/Magnus



More information about the jigsaw-dev mailing list