[ 
https://issues.apache.org/jira/browse/BCEL-377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18028051#comment-18028051
 ] 

Andrey Loskutov commented on BCEL-377:
--------------------------------------

It is BCEL issue. I've tried to check the class file via BytecodeOutline (uses 
ASM to disassemble it) and it fails with this:
{code}
java.lang.NullPointerException: Cannot load from int array because 
"this.bootstrapMethodOffsets" is null
        at org.objectweb.asm.ClassReader.readCode(ClassReader.java:2462)
        at org.objectweb.asm.ClassReader.readMethod(ClassReader.java:1512)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:745)
        at org.objectweb.asm.ClassReader.accept(ClassReader.java:425)
        at 
org.eclipse.jdt.bcoview.asm.DecompilerHelper.getDecompiledClass(DecompilerHelper.java:36)
        at 
org.eclipse.jdt.bcoview.views.BytecodeOutlineView.decompileBytecode(BytecodeOutlineView.java:1455)
        at 
org.eclipse.jdt.bcoview.views.BytecodeOutlineView.refreshView(BytecodeOutlineView.java:1051)
        at 
org.eclipse.jdt.bcoview.views.BytecodeOutlineView.handlePartVisible(BytecodeOutlineView.java:948)
        at 
org.eclipse.jdt.bcoview.views.EditorListener.partOpened(EditorListener.java:121)
{code}

> Fix Java 24 and 25 tests and release
> ------------------------------------
>
>                 Key: BCEL-377
>                 URL: https://issues.apache.org/jira/browse/BCEL-377
>             Project: Commons BCEL
>          Issue Type: New Feature
>    Affects Versions: 6.10.0
>            Reporter: Dejan Stojadinović
>            Priority: Major
>              Labels: Java25, patch, patch-upgrade
>         Attachments: BCELifierTest.java, pom.xml, test_BAD_mvn_java25.txt, 
> test_OK_mvn_java21.txt
>
>
> *Prologue:* [https://github.com/spotbugs/spotbugs/issues/3569] SpotBugs: 
> Update to BCEL stable 6.11 release
> *Note:* it really doesn't have to be a full-blown 6.11.0 release; patch 
> 6.10.1 would do:
>  * version 6.10.0: 
> [https://github.com/apache/commons-bcel/releases/tag/rel%2Fcommons-bcel-6.10.0]
>  and
>  * commit: 
> [https://github.com/apache/commons-bcel/commit/70562832ce2cc8925787bacf53911615e6fbb2b7]
> FYI [~ggregory] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to