Review request 8136930: Simplify use of module-system options by custom launchers

Jonathan Gibbons jonathan.gibbons at
Mon Aug 8 22:56:21 UTC 2016

On 08/08/2016 03:02 PM, Mandy Chung wrote:
>> >In then there is a typo in "instead whitespace" (missing "of"). Also probably best to say a "file URL" instead of "URL" as I don't think it accepts an arbitrary URL.
>> >
> Fixed.

Please unfix.

For a couple of releases, javap has accepted arbitrary URLs, with an 
example of a jar: URL being given in

Here's the fragment of code from JavapTask:

         // see if it is a URL, and if so, wrap it in just enough of a 
         // to suit javap's needs
         if (className.matches("^[A-Za-z]+:.*")) {
             try {
                 final URI uri = new URI(className);
                 final URL url = uri.toURL();
                 final URLConnection conn = url.openConnection();

More information about the jigsaw-dev mailing list