git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [CONFIGURATION] 2.4 RC2 test failures with java 11 (Was: [VOTE] Release Apache Commons Configuration 2.4 based on RC2)


I would guess this is caused by a byte code manipulation library like ASM which does not support Java 11 yet.

Am 26.10.2018 um 16:28 schrieb Rob Tompkins:
Yes…those failures happen in 11, but not 10. Thoughts?

On Oct 26, 2018, at 9:59 AM, Gary Gregory <garydgregory@xxxxxxxxx> wrote:

Ping? Anybody see this as well?

Gary

On Thu, Oct 25, 2018 at 9:27 AM Gary Gregory <garydgregory@xxxxxxxxx> wrote:

 From src zip: ASC, SHA256, SHA512 OK.

Building OK with 'mvn -V clean package site' using

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk1.8.0_191\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

But using Java 11:

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T12:33:14-06:00)
Maven home: C:\Java\apache-maven-3.5.4\bin\..
Java version: 11.0.1, vendor: Oracle Corporation, runtime: C:\Program
Files\Java\jdk-11.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

I get:

[INFO] Running
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector
[ERROR] Tests run: 11, Failures: 0, Errors: 5, Skipped: 0, Time elapsed:
0.008 s <<< FAILURE! - in
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector
[ERROR]
testRefreshIsReloadingRequiredTrue(org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector)
Time elapsed: 0.002 s  <<< ERROR!
java.lang.IllegalArgumentException: Unsupported class file major version 55
        at
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector.testRefreshIsReloadingRequiredTrue(TestFileHandlerReloadingDetector.java:131)

[ERROR]
testRefreshReloadingAndReset(org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector)
Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalArgumentException: Unsupported class file major version 55
        at
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector.testRefreshIsReloadingRequiredTrue(TestFileHandlerReloadingDetector.java:131)

[ERROR]
testReloadingAndReset(org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector)
Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalArgumentException: Unsupported class file major version 55
        at
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector.testRefreshIsReloadingRequiredTrue(TestFileHandlerReloadingDetector.java:131)

[ERROR]
testRefreshDelay(org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector)
Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalArgumentException: Unsupported class file major version 55
        at
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector.testRefreshIsReloadingRequiredTrue(TestFileHandlerReloadingDetector.java:131)

[ERROR]
testIsReloadingRequiredTrue(org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector)
Time elapsed: 0 s  <<< ERROR!
java.lang.IllegalArgumentException: Unsupported class file major version 55
        at
org.apache.commons.configuration2.reloading.TestFileHandlerReloadingDetector.testRefreshIsReloadingRequiredTrue(TestFileHandlerReloadingDetector.java:131)

Any thoughts on that?

Gary

On Tue, Oct 23, 2018 at 8:10 PM Rob Tompkins <chtompki@xxxxxxxxxx> wrote:

We have fixed quite a few bugs and added some significant enhancements
since Apache Commons Configuration 2.3 was released, so I would like to
release Apache Commons Configuration 2.4.

Apache Commons Configuration 2.4 RC2 is available for review here:
    https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2
(svn revision 30260)

The Subversion tag for this RC is here:

http://svn.apache.org/repos/asf/commons/proper/configuration/tags/CONFIGURATION_2_4_RC2/
(svn revision 1844715)

Maven artifacts are here:

https://repository.apache.org/content/repositories/orgapachecommons-1391/org/apache/commons/commons-configuration2/2.4/

These are the Maven artifacts and their hashes in Nexus:

#Nexus SHA-1s

commons-configuration2-2.4-sources.jar=2bcdd60dac93e16b53f613f37979b585cb5c23ec
commons-configuration2-2.4.pom=24b3e7ef8afc470ead058236dd71a73a0f029d9d

commons-configuration2-2.4-test-sources.jar=1f1fc7fad84049f55a6b9f28e9cacde46971bad6

commons-configuration2-2.4-tests.jar=a6c0ef84d06fb110681ee4ffc46f8d2d0436d203

commons-configuration2-2.4-javadoc.jar=e73305477e5d62ad0e140b58aa7e87dd0dbd1266
commons-configuration2-2.4.jar=208279841cb092e0f51f097c1f1649341e6333f3

#Release SHA-256s
#Tue Oct 23 21:49:00 EDT 2018

commons-configuration2-2.4-bin-tar.gz=25a59714dbeb379263d5b05d88a22ce0a6521cbd4b29e0d43630e8375cbb2776

commons-configuration2-2.4-bin-zip=cb9b1979ec07dbfb7ffc8b1a4e897210942ab85e8c91fcaba0a2de88fad274cd

commons-configuration2-2.4-src-tar.gz=1c24b4a507a7688e26af3b508eb85cf954a92ac3dc2ffa841bb114c345fb2d97

commons-configuration2-2.4-src-zip=d6ac9d51fb29426746916265c072e370a2b1a3720c8891bba8621720c3f479c8

I have tested this with 'mvn clean install site' using:
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe;
2018-06-17T14:33:14-04:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 1.8.0_181, vendor: Oracle Corporation, runtime:
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14", arch: "x86_64", family: "mac"

Details of changes since 2.3 are in the release notes:

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/RELEASE-NOTES.txt

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/site/changes-report.html

Site:

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/site
    (note some *relative* links are broken and the 2.4 directories are
not yet created - these will be OK once the site is deployed.)

CLIRR Report (compared to 2.3):

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/site/clirr-report.html

JApiCmp Report (compared to 2.3):

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/site/japicmp.html

RAT Report:

https://dist.apache.org/repos/dist/dev/commons/configuration/2.4-RC2/site/rat-report.html

KEYS:
  https://www.apache.org/dist/commons/KEYS

Please review the release candidate and vote.
This vote will close no sooner that 72 hours from now.

  [ ] +1 Release these artifacts
  [ ] +0 OK, but...
  [ ] -0 OK, but really should fix...
  [ ] -1 I oppose this release because...

Thank you,

Rob Tompkins,
Release Manager (using key B6E73D84EA4FCC47166087253FAAD2CD5ECBB314)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxx