On 2/10/17, 2:30 PM, Paul Sandoz wrote:

We can make jar -d output similiar to `java —-list-modules` and have the entry 
name next to the module name in the same line.

module hi (module-info.class)
module hi (META-INF/versions/10/module-info.class)

updated to use the suggested format.


1759-1763:  an alternative is to use stream().sorted().foreach(…) that you 
won’t need to create the names array.

Yes, i prefer to stream approach too. (FWIW if Stream.toArray was used and 
performance was a concern that might motivate using a more imperative style).

updated to use stream style.

https://bugs.openjdk.java.net/browse/JDK-8165640
http://cr.openjdk.java.net/~sherman/8165640/webrev
(webrev link is changed. the id was wrong in previous email)

thanks
sherman




Reply via email to