hg: jigsaw/jake/jdk: 2 new changesets

2017-04-12 Thread alan . bateman
Changeset: 466e5efca25b
Author:alanb
Date:  2017-04-12 19:26 +0100
URL:   http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/466e5efca25b

JavaLangAccess.findResource can be removed

! src/java.base/share/classes/java/lang/Module.java
! src/java.base/share/classes/java/lang/System.java
! src/java.base/share/classes/jdk/internal/misc/JavaLangAccess.java

Changeset: 5c7ca298a92a
Author:alanb
Date:  2017-04-12 19:26 +0100
URL:   http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/5c7ca298a92a

Improve java --dry-run usage message

! src/java.base/share/classes/sun/launcher/resources/launcher.properties



Re: Intended usage of `java --dry-run`?

2017-04-12 Thread Alan Bateman

On 11/04/2017 17:13, Andrew Guibert wrote:


:

Thanks for clarifying Alan.  I misunderstood the use case of --dry-run 
to be

that it did not require any main class, but instead the point is to *load*
but not *execute* the main class.  Perhaps this would be worth 
clarifying in

the option description?



The current usage for this option does include "create VM but do not 
execute main method". I guess we could adjust this a bit to make it 
explicit that the main class is loaded but the main method is not executed.


-Alan


hg: jigsaw/jake/jdk: jar tool: remove superflous newlines in describe output

2017-04-12 Thread chris . hegarty
Changeset: 245e5e5c0c8e
Author:chegar
Date:  2017-04-12 13:51 +0100
URL:   http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/245e5e5c0c8e

jar tool: remove superflous newlines in describe output

! src/jdk.jartool/share/classes/sun/tools/jar/Main.java



hg: jigsaw/jake/jdk: 2 new changesets

2017-04-12 Thread chris . hegarty
Changeset: 3277e976d3c4
Author:chegar
Date:  2017-04-12 12:13 +0100
URL:   http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/3277e976d3c4

bug fix in jar Validator comparator

! src/jdk.jartool/share/classes/sun/tools/jar/Validator.java
+ test/tools/jar/multiRelease/whitebox/Driver.java
+ 
test/tools/jar/multiRelease/whitebox/jdk.jartool/sun/tools/jar/ValidatorComparatorTest.java

Changeset: 3c03f035f74d
Author:chegar
Date:  2017-04-12 12:14 +0100
URL:   http://hg.openjdk.java.net/jigsaw/jake/jdk/rev/3c03f035f74d

jar tool describe module consistency with launcher

! src/jdk.jartool/share/classes/sun/tools/jar/Main.java
! src/jdk.jartool/share/classes/sun/tools/jar/resources/jar.properties
! test/tools/jar/mmrjar/Basic.java
! test/tools/jar/modularJar/Basic.java