Skip to content

Commit

Permalink
ant test-platform -Dtest.includes=Nothing compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslav Tulach committed Jan 2, 2019
1 parent 4b857cc commit f902f31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nbbuild/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,8 @@ Hg ID: ${hg.id}
<property name="cluster.config" value="platform"/>
<property name="test.type" value="test-unit"/>
<property name="test-unit-sys-prop.ignore.random.failures" value="true"/>
<property name="permit.jdk9.builds" value="true"/>
<property name="vanilla.javac.exists" value="true"/>
</ant>
</target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ public void testBrokenSignature() throws IOException {

// sign the jar
try {
sun.security.tools.jarsigner.Main.main(new String[]{
Class<?> jarSignererMain = Class.forName("sun.security.tools.jarsigner.Main");
Method main = jarSignererMain.getMethod("main", String[].class);
main.invoke(null, (Object) new String[]{
"-keystore", keystoreFile.getAbsolutePath(),
"-storepass", "testpass",
jarFile.getAbsolutePath(),
Expand Down

0 comments on commit f902f31

Please sign in to comment.