You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2019/03/02 09:55:13 UTC
svn commit: r1854631 - in /poi/site: publish/help/faq.html
src/documentation/content/xdocs/help/faq.xml
Author: centic
Date: Sat Mar 2 09:55:13 2019
New Revision: 1854631
URL: http://svn.apache.org/viewvc?rev=1854631&view=rev
Log:
Update FAQ entry for Java 11
Modified:
poi/site/publish/help/faq.html
poi/site/src/documentation/content/xdocs/help/faq.xml
Modified: poi/site/publish/help/faq.html
URL: http://svn.apache.org/viewvc/poi/site/publish/help/faq.html?rev=1854631&r1=1854630&r2=1854631&view=diff
==============================================================================
--- poi/site/publish/help/faq.html (original)
+++ poi/site/publish/help/faq.html Sat Mar 2 09:55:13 2019
@@ -740,9 +740,18 @@ and
cannot be fully supported while maintaining such support.
We are working on adding support for automatic modules.
</p>
-<p>For compiling Apache POI, you should set some additional options as follows
- to open up some modules that are needed and to unset some compiler options
- which are not supported any more.
+<p>
+ FYI, jaxb in current versions also causes some warnings about reflective access,
+ we cannot fix those until jaxb >= 2.4.0 is available, see
+ https://stackoverflow.com/a/50251510/411846 for details, you can set a system
+ property "com.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize" to avoid this warning.
+ </p>
+<p>
+ For compiling Apache POI, you should use at least version 4.0.2 when it becomes available
+ or a recent trunk checkout until then.
+ </p>
+<p>
+ Also make sure to use at least Ant 1.9.5 or newer.
</p>
<pre class="code">
# requires Ant >= 1.9.5 due to https://bz.apache.org/bugzilla/show_bug.cgi?id=58271
@@ -752,13 +761,6 @@ and
ant \
-Duser.language=en \
-Duser.country=US \
- -Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true \
- -Djava9addopens1=--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED \
- -Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED \
- -Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED \
- -Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED \
- -Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED \
- -Djava.locale.providers=JRE,CLDR \
test-all
</pre>
Modified: poi/site/src/documentation/content/xdocs/help/faq.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/help/faq.xml?rev=1854631&r1=1854630&r2=1854631&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/help/faq.xml (original)
+++ poi/site/src/documentation/content/xdocs/help/faq.xml Sat Mar 2 09:55:13 2019
@@ -619,9 +619,18 @@ and
cannot be fully supported while maintaining such support.
We are working on adding support for automatic modules.
</p>
- <p>For compiling Apache POI, you should set some additional options as follows
- to open up some modules that are needed and to unset some compiler options
- which are not supported any more.
+ <p>
+ FYI, jaxb in current versions also causes some warnings about reflective access,
+ we cannot fix those until jaxb >= 2.4.0 is available, see
+ https://stackoverflow.com/a/50251510/411846 for details, you can set a system
+ property "com.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize" to avoid this warning.
+ </p>
+ <p>
+ For compiling Apache POI, you should use at least version 4.0.2 when it becomes available
+ or a recent trunk checkout until then.
+ </p>
+ <p>
+ Also make sure to use at least Ant 1.9.5 or newer.
</p>
<source><![CDATA[
# requires Ant >= 1.9.5 due to https://bz.apache.org/bugzilla/show_bug.cgi?id=58271
@@ -631,13 +640,6 @@ and
ant \
-Duser.language=en \
-Duser.country=US \
- -Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true \
- -Djava9addopens1=--add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED \
- -Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED \
- -Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED \
- -Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED \
- -Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED \
- -Djava.locale.providers=JRE,CLDR \
test-all
]]>
</source>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org