]> source.dussan.org Git - poi.git/commitdiff
Revert "Adjust script to pass -addmods to load XML Binding support"
authorDominik Stadler <centic@apache.org>
Sun, 11 Dec 2016 21:14:31 +0000 (21:14 +0000)
committerDominik Stadler <centic@apache.org>
Sun, 11 Dec 2016 21:14:31 +0000 (21:14 +0000)
This reverts commit 3324b0e113340dae916e27bba5fb9c57dddf0927.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773673 13f79535-47bb-0310-9956-ffa450edef68

java9.sh

index a78f7c5d23e587a240542a8d1a81d63ea9a9a2d8..033be428af7a1c09f40d60ffa0453c65b3f0c2a0 100755 (executable)
--- a/java9.sh
+++ b/java9.sh
@@ -18,8 +18,6 @@ ant  \
     -Duser.language=en \
     -Duser.country=US \
     -Dmaxpermsize=-Dthis.is.a.dummy=true \
-    -Djava9addmods=-addmods \
-    -Djava9addmodsvalue=java.xml.bind \
        -Djava.locale.providers=JRE,CLDR \
        -Dcoverage.enabled=true \
        -Dorg.apache.poi.util.POILogger=org.apache.poi.util.NullLogger \
@@ -87,29 +85,3 @@ exit 0
 # ant javascript fails: <scriptdef name="propertyreset" language="javascript">, probably need to manually include the Javascript Engine
 # => see https://bugs.openjdk.java.net/browse/JDK-8152533, probably fixed in b113
 # => Ant 1.9.5 fixes this: https://bz.apache.org/bugzilla/show_bug.cgi?id=58271
-
-
-# JaCoCo is failing:
-
-test-main:
-[jacoco:coverage] Enhancing junit with coverage
-    [junit] File leak detector installed
-    [junit] Serving file leak stats on http://localhost:19998/ for stats
-    [junit] FATAL ERROR in native method: processing of -javaagent failed
-    [junit] Exception in thread "main" java.lang.reflect.InvocationTargetException
-    [junit]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
-    [junit]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
-    [junit]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
-    [junit]     at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
-    [junit]     at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(java.instrument@9-ea/InstrumentationImpl.java:396)
-    [junit]     at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(java.instrument@9-ea/InstrumentationImpl.java:408)
-    [junit] Caused by: java.lang.RuntimeException: Class java/util/UUID could not be instrumented.
-    [junit]     at org.jacoco.agent.rt.internal_14f7ee5.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:139)
-    [junit]     at org.jacoco.agent.rt.internal_14f7ee5.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:100)
-    [junit]     at org.jacoco.agent.rt.internal_14f7ee5.PreMain.createRuntime(PreMain.java:55)
-    [junit]     at org.jacoco.agent.rt.internal_14f7ee5.PreMain.premain(PreMain.java:47)
-    [junit]     ... 6 more
-    [junit] Caused by: java.lang.NoSuchFieldException: $jacocoAccess
-    [junit]     at java.lang.Class.getField(java.base@9-ea/Class.java:1881)
-    [junit]     at org.jacoco.agent.rt.internal_14f7ee5.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:137)
-    [junit]     ... 9 more