Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Parsing Java Libraries Compiled With Java 8 #29

Open
seiferma opened this issue Jul 23, 2015 · 5 comments
Open

Support Parsing Java Libraries Compiled With Java 8 #29

seiferma opened this issue Jul 23, 2015 · 5 comments

Comments

@seiferma
Copy link

It is not possible to parse Java libraries compiled with Java 8. This is problematic because Java 7 is not updated anymore. An upgrade to Java 8 is required.

The cause of the problem is the insufficient Java 8 support of the Apache BCEL library version that you use. The issue BCEL173 has already been solved for BCEL 6.0. Unfortunately, BCEL 6.0 is neither released nor announced to be released yet.

You might try the bcel-findbugs library instead, which has been suggest in the issue mentioned above for the time until BCEL 6.0 is released.

@AresEkb
Copy link

AresEkb commented Jun 2, 2016

I've got the problem too.

@seiferma
Copy link
Author

seiferma commented Jun 8, 2016

You can have a look at the fork of @MLanghammer. He included the latest BCEL library and some performance improvements but does not provide an update site or something similar.

https://github.com/MLanghammer/JaMoPP

@joehen
Copy link

joehen commented May 9, 2017

Official BCEL v6.0 has been released on 14 Jul 2016, please switch to this version

@Elothis
Copy link

Elothis commented May 24, 2019

Hey, I think I'm having a problem extracting a model with JaMoPP from Java 8 code due to this here mentioned issue. The official website of JaMoPP seems to be down, so I dont know how to attain any documentation, and I just found this site here which mentioned to use the jamoppc.jar from the Util directory to get started.
The fork from MLanghammer does not seem to have updated the jamoppc.jar file with the new BCEL library, so I cannot seem to extract a model from Java 8 code in any way.

Can anyone help me out here and explain to me how I can extract a model from Java 8 code?

Thank you very much.

@jjohannes
Copy link
Contributor

@Elothis instead of using the jamoppc.jar you can clone the git repo and run the JaMoPPC.java class. That's the entry point of the jar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants