Hi,
The proposed 9.0.2 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.2
[ X ] Beta - go ahead and release as 9.0.2
[ ] Stable - go ahead and release as 9.0.2
Unit test passed on JDK8, but failed on JDK9:
Testsuite: org.apache.tomcat.util.scan.TestStandardJarScanner
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
Testcase: testWebappClassPath took 0.276 sec
FAILED
Unexpected class loader type: jdk.internal.loader.ClassLoaders$AppClassLoader
junit.framework.AssertionFailedError: Unexpected class loader type:
jdk.internal.loader.ClassLoaders$AppClassLoader
at
org.apache.tomcat.util.scan.TestStandardJarScanner.testWebappClassPath(TestStandardJarScanner.java:74)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Testcase: skipsInvalidClasspathURLNoFilePartNoFileScheme took 0.068 sec
This is because jdk.internal.loader.ClassLoaders$AppClassLoader is no longer a
sub class or URLClassLoader from JDK9, I can't find a easy way to work it
around except for using reflection.
Examples runs fine under both JDK8 and JDK9.
Our test web application runs fine on JDK8, but failed on JDK9 (it is not a
tomcat issue.)
------------------------------------------------------------------
Mark Thomas <[email protected]>
2017 Nov 26 (Sun) 05:36
Tomcat Developers List <[email protected]>
[VOTE] Release Apache Tomcat 9.0.2
The proposed Apache Tomcat 9.0.2 release is now available for voting.
The major changes compared to the 9.0.1 release are:
- Java 9 is fully supported
- Fixed numerous JASPIC issues with patches from Lazar
- Update the packaged version of the Tomcat Native Library to
1.2.16 to pick up the latest Windows binaries built with
APR 1.6.3 and OpenSSL 1.0.2m
Along with lots of other bug fixes and improvements.
For full details, see the changelog:
http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/changelog.xml
It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-9/v9.0.2/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1160/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tags/TOMCAT_9_0_2/
The proposed 9.0.2 release is:
[ ] Broken - do not release
[ ] Alpha - go ahead and release as 9.0.2
[ ] Beta - go ahead and release as 9.0.2
[ ] Stable - go ahead and release as 9.0.2
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]