commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: [VOTE] Release Apache Commons BCEL 6.0 based on RC7
Date Tue, 05 Jul 2016 19:01:29 GMT
Andrey Loskutov wrote:

> Jörg,
> Can you elaborate what do you mean by "BCEL 6.0 fails badly on JDK 1.9"?

======================== %< ================================
joehni@floh ~/tmp/download/bcel-6.0-src $ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T17:41:47+01:00)
Maven home: /usr/share/maven-bin-3.3
Java version: 9-ea, vendor: Oracle Corporation
Java home: /opt/oracle-jdk-bin-1.9.0.0_beta116
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.4.6-gentoo", arch: "amd64", family: "unix"
joehni@floh ~/tmp/download/bcel-6.0-src $ mcp
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] 
------------------------------------------------------------------------
[INFO] Building Apache Commons BCEL 6.0
[INFO] 
------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ bcel ---
[INFO] Deleting /home/joehni/tmp/download/bcel-6.0-src/target
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-3) @ bcel ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.10:parse-version (parse-version) @ 
bcel ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.8:run (javadoc.resources) @ bcel ---
[INFO] Executing tasks

main:
     [copy] Copying 2 files to /home/joehni/tmp/download/bcel-6.0-
src/target/apidocs/META-INF
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ bcel ---
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ bcel ---
[INFO] Executing: /bin/sh -c cd '/home/joehni/tmp/download/bcel-6.0-src' && 
'svn' '--non-interactive' 'info'
[INFO] Working directory: /home/joehni/tmp/download/bcel-6.0-src
[INFO] Storing buildNumber: ?????? at timestamp: 1467745110375
[INFO] Executing: /bin/sh -c cd '/home/joehni/tmp/download/bcel-6.0-src' && 
'svn' '--non-interactive' 'info'
[INFO] Working directory: /home/joehni/tmp/download/bcel-6.0-src
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ bcel 
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
/home/joehni/tmp/download/bcel-6.0-src/src/main/resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ bcel ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 376 source files to /home/joehni/tmp/download/bcel-6.0-
src/target/classes
[INFO] /home/joehni/tmp/download/bcel-6.0-
src/src/main/java/org/apache/bcel/classfile/CodeException.java: Some input 
files use or override a deprecated API.
[INFO] /home/joehni/tmp/download/bcel-6.0-
src/src/main/java/org/apache/bcel/classfile/CodeException.java: Recompile 
with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:manifest (bundle-manifest) @ bcel ---
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.15:check (checkAPIcompatibility) @ 
bcel ---
[INFO] Checking unresolved references to 
org.codehaus.mojo.signature:java17:1.0
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) 
@ bcel ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 2 resources to META-INF
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ 
bcel ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 65 source files to /home/joehni/tmp/download/bcel-6.0-
src/target/test-classes
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.6.201602180812:prepare-agent (prepare-
agent) @ bcel ---
[INFO] argLine set to -
javaagent:/home/joehni/.m2/repository/org/jacoco/org.jacoco.agent/0.7.6.201602180812/org.jacoco.agent-0.7.6.201602180812-
runtime.jar=destfile=/home/joehni/tmp/download/bcel-6.0-
src/target/jacoco.exec
[INFO] 
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ bcel ---

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with 
message transform method call failed at JPLISAgent.c line: 884
Running org.apache.bcel.PLSETestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec - 
in org.apache.bcel.PLSETestCase
Running org.apache.bcel.verifier.VerifierTestCase
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec 
<<< FAILURE! - in org.apache.bcel.verifier.VerifierTestCase
testDefaultMethodValidation(org.apache.bcel.verifier.VerifierTestCase)  Time 
elapsed: 0.015 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Pass 1 verification of 
java.util.Collection failed: Repository.lookup() failed. FILE NOT FOUND? 
expected:<1> but was:<2>
        at 
org.apache.bcel.verifier.VerifierTestCase.testDefaultMethodValidation(VerifierTestCase.java:33)

Running org.apache.bcel.verifier.VerifierArrayAccessTestCase
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec 
<<< FAILURE! - in org.apache.bcel.verifier.VerifierArrayAccessTestCase
testValidArrayAccess(org.apache.bcel.verifier.VerifierArrayAccessTestCase)  
Time elapsed: 0.024 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of an arraystore 
instruction on an array that is not compatible with the stored element must 
pass.
        at 
org.apache.bcel.verifier.VerifierArrayAccessTestCase.testValidArrayAccess(VerifierArrayAccessTestCase.java:38)

Running org.apache.bcel.verifier.VerifierInvokeTestCase
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec 
<<< FAILURE! - in org.apache.bcel.verifier.VerifierInvokeTestCase
testLegalInvokeVirtual(org.apache.bcel.verifier.VerifierInvokeTestCase)  
Time elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of invokevirtual on 
method defined in superclass must pass.
        at 
org.apache.bcel.verifier.VerifierInvokeTestCase.testLegalInvokeVirtual(VerifierInvokeTestCase.java:25)

testLegalInvokeStatic(org.apache.bcel.verifier.VerifierInvokeTestCase)  Time 
elapsed: 0.003 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of invokestatic on method 
defined in superclass must pass.
        at 
org.apache.bcel.verifier.VerifierInvokeTestCase.testLegalInvokeStatic(VerifierInvokeTestCase.java:30)

testLegalInvokeSpecial(org.apache.bcel.verifier.VerifierInvokeTestCase)  
Time elapsed: 0.007 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of invokespecial on 
method defined in superclass must pass.
        at 
org.apache.bcel.verifier.VerifierInvokeTestCase.testLegalInvokeSpecial(VerifierInvokeTestCase.java:38)

testLegalInvokeInterface(org.apache.bcel.verifier.VerifierInvokeTestCase)  
Time elapsed: 0.003 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of invokeinterface on 
method defined in superinterface must pass.
        at 
org.apache.bcel.verifier.VerifierInvokeTestCase.testLegalInvokeInterface(VerifierInvokeTestCase.java:34)

Running org.apache.bcel.verifier.VerifierReturnTestCase
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec 
<<< FAILURE! - in org.apache.bcel.verifier.VerifierReturnTestCase
testValidReturn(org.apache.bcel.verifier.VerifierReturnTestCase)  Time 
elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Verification of a method that returns 
a newly created object must pass.
        at 
org.apache.bcel.verifier.VerifierReturnTestCase.testValidReturn(VerifierReturnTestCase.java:35)

Running org.apache.bcel.InstructionFinderTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec - 
in org.apache.bcel.InstructionFinderTestCase
Running org.apache.bcel.AnonymousClassTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - 
in org.apache.bcel.AnonymousClassTestCase
Running org.apache.bcel.ElementValueGenTestCase
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec - 
in org.apache.bcel.ElementValueGenTestCase
Running org.apache.bcel.EnclosingMethodAttributeTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.EnclosingMethodAttributeTestCase
Running org.apache.bcel.PerformanceTest
parsing /opt/oracle-jdk-bin-1.9.0.0_beta116/lib/ant-javafx.jar
parsing /opt/oracle-jdk-bin-1.9.0.0_beta116/lib/javaws.jar
parsing /opt/oracle-jdk-bin-1.9.0.0_beta116/lib/deploy.jar
parsing /opt/oracle-jdk-bin-1.9.0.0_beta116/lib/plugin.jar
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.83 sec - 
in org.apache.bcel.PerformanceTest
Running org.apache.bcel.generic.GeneratingAnnotatedClassesTestCase
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - 
in org.apache.bcel.generic.GeneratingAnnotatedClassesTestCase
Running org.apache.bcel.generic.BranchHandleTestCase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec - 
in org.apache.bcel.generic.BranchHandleTestCase
Running org.apache.bcel.generic.MethodGenTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - 
in org.apache.bcel.generic.MethodGenTestCase
Running org.apache.bcel.generic.AnnotationGenTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - 
in org.apache.bcel.generic.AnnotationGenTestCase
Running org.apache.bcel.generic.JDKGenericDumpTestCase
/opt/oracle-jdk-bin-1.9.0.0_beta116/lib/ant-javafx.jar
/opt/oracle-jdk-bin-1.9.0.0_beta116/lib/javaws.jar
/opt/oracle-jdk-bin-1.9.0.0_beta116/lib/deploy.jar
/opt/oracle-jdk-bin-1.9.0.0_beta116/lib/plugin.jar
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.515 sec - 
in org.apache.bcel.generic.JDKGenericDumpTestCase
Running org.apache.bcel.generic.TypeTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.generic.TypeTestCase
Running org.apache.bcel.generic.FieldAnnotationsTestCase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - 
in org.apache.bcel.generic.FieldAnnotationsTestCase
Running org.apache.bcel.generic.InstructionHandleTestCase
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - 
in org.apache.bcel.generic.InstructionHandleTestCase
Running org.apache.bcel.classfile.UtilityTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.classfile.UtilityTestCase
Running org.apache.bcel.AnnotationDefaultAttributeTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.AnnotationDefaultAttributeTestCase
Running org.apache.bcel.util.Class2HTMLTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec - 
in org.apache.bcel.util.Class2HTMLTestCase
Running org.apache.bcel.util.BCELifierTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.985 sec - 
in org.apache.bcel.util.BCELifierTestCase
Running org.apache.bcel.CounterVisitorTestCase
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - 
in org.apache.bcel.CounterVisitorTestCase
Running org.apache.bcel.AnnotationAccessFlagTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.AnnotationAccessFlagTestCase
Running org.apache.bcel.EnumAccessFlagTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in 
org.apache.bcel.EnumAccessFlagTestCase

Results :

Failed tests: 
  VerifierArrayAccessTestCase.testValidArrayAccess:38-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of an arraystore 
instruction on an array that is not compatible with the stored element must 
pass.
  VerifierInvokeTestCase.testLegalInvokeInterface:34-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of invokeinterface 
on method defined in superinterface must pass.
  VerifierInvokeTestCase.testLegalInvokeSpecial:38-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of invokespecial on 
method defined in superclass must pass.
  VerifierInvokeTestCase.testLegalInvokeStatic:30-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of invokestatic on 
method defined in superclass must pass.
  VerifierInvokeTestCase.testLegalInvokeVirtual:25-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of invokevirtual on 
method defined in superclass must pass.
  VerifierReturnTestCase.testValidReturn:35-
>AbstractVerifierTestCase.assertVerifyOK:38 Verification of a method that 
returns a newly created object must pass.
  VerifierTestCase.testDefaultMethodValidation:33 Pass 1 verification of 
java.util.Collection failed: Repository.lookup() failed. FILE NOT FOUND? 
expected:<1> but was:<2>

Tests run: 102, Failures: 7, Errors: 0, Skipped: 0
======================== %< ================================

> Are there open tickets for that?

Not yet. Note, that this build of the JDK has finally Jigsaw integrated.

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message