commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Freedman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-173) ClassParser fails to parse JDK classes in Java 8: ClassFormatException: Invalid byte tag in constant pool
Date Mon, 29 Sep 2014 22:19:34 GMT

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

Jon Freedman commented on BCEL-173:
-----------------------------------

I am out of the office on my honeymoon until Tuesday 30th September.  Any questions please
contact Chris Coleman or Zahir Bishnani in my absence.



This email, the information therein and any attached materials (collectively the "Email")
are intended only for the addressee(s) and may contain confidential, proprietary, copyrighted
and/or privileged material. If you have received this Email in error please delete it and
notify the sender immediately. This Email remains the property of Brevan Howard, which reserves
the right to require its return (together with any copies or extracts thereof) at any time
upon request. Any unauthorised review, retransmission, dissemination, forwarding, printing,
copying or other use of this Email is prohibited. Brevan Howard may be legally required to
review and retain outgoing and incoming email and produce it to regulatory authorities and
others with legal rights to the information. Internet communications cannot be guaranteed
to be secure or error free as information could be intercepted, changed corrupted, lost, arrive
late or contain viruses. Brevan Howard accepts no liability for any errors or omissions in
this Email which arise as a result of internet transmission. This Email is not an official
confirmation of any transaction. Any comments or statements made herein do not necessarily
reflect the views of Brevan Howard.
This Email is not an offer to sell or solicitation of an offer to buy any security or investment.
It does not constitute or contain any investment advice and is being made without regard to
the recipients investment objectives, financial situation or means. Past Performance is not
an indicator of future results and Brevan Howard provides no assurance that future results
will be consistent with any information provided herein or attached hereto. Brevan Howard
and the sender make no warranties regarding the accuracy or completeness of the information
in this Email and it should not be relied upon and is subject to change without notice. Brevan
Howard and its representatives, officers and employees accept no responsibility for any losses
suffered as a result of reliance on the information in this Email or the reliability, accuracy,
or completeness thereof.
In this Email, "Brevan Howard" means Brevan Howard Asset Management LLP ("BHAM"), Brevan Howard
Inc., Brevan Howard (Israel) Ltd and their respective affiliates. BHAM is a limited liability
partnership authorised and regulated by the Financial Conduct Authority of the United Kingdom
and registered in England & Wales (reg. no. OC302636).



> ClassParser fails to parse JDK classes in Java 8: ClassFormatException: Invalid byte
tag in constant pool
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: BCEL-173
>                 URL: https://issues.apache.org/jira/browse/BCEL-173
>             Project: Commons BCEL
>          Issue Type: Bug
>    Affects Versions: 5.0, 5.1, 5.2
>            Reporter: David Carr
>             Fix For: 6.0
>
>         Attachments: bcel-bug.tgz
>
>
> See attached sample project that reproduces the failure.  On Java 7, it prints info about
the ConcurrentMap class.  On Java 8, it encounters the following exception:
> {code}
> Exception in thread "main" org.apache.bcel.classfile.ClassFormatException: Invalid byte
tag in constant pool: 18
> 	at org.apache.bcel.classfile.Constant.readConstant(Constant.java:146)
> 	at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:67)
> 	at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:222)
> 	at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:136)
> 	at TestMain.main(TestMain.java:11)
> {code}
> To use the sample project, extract it and then run "./gradlew clean run".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message