Convert to Modular JAR was: Publish and fetch a modular jar to a repository

Jaroslav Tulach jaroslav.tulach at oracle.com
Tue Jul 17 01:17:53 PDT 2012


Dne Po 16. července 2012 18:42:16, Alan Bateman napsal(a):
> On 16/07/2012 17:21, Paul Sandoz wrote:
> > OK, converted to upper case. I have no strong preference on the style, 
just wanna be consistent, like with code formatting (but wanna automate that 
bit):
> >    http://cr.openjdk.java.net/~psandoz/jigsaw/repo-add-jar/webrev.3/
> 
> Thanks looks fine to me.

Hello Paul,
my comment may not be related to this particular webrev, but I think it is 
good time to remind that we plan to base the NetBeans IDE support for Jigsaw 
on modular JAR files and we need a way to convert any module to modular JAR 
format.

There is method 

public abstract InputStream fetch(ModuleId mid);

in the Repository class. Should not it be 

public abstract InputStream fetch(ModuleId mid, ModuleType format);

so we can request any module in modular JAR format?
-jt





More information about the jigsaw-dev mailing list