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

Java 8 compatibility #9

Closed
ebourg opened this issue Jun 10, 2014 · 2 comments
Closed

Java 8 compatibility #9

ebourg opened this issue Jun 10, 2014 · 2 comments

Comments

@ebourg
Copy link

ebourg commented Jun 10, 2014

Hi,

I have the following error when using japi-compliance-checker with OpenJDK 8:

ebourg@icare:~/japi-compliance-checker$ ./japi-compliance-checker.pl -test

verifying detectable Java library changes
reading classes 1.0 ...
ERROR: internal error - can't read method signature

Also, the output of java -version changed in OpenJDK 8 and the regexp detecting the version used has to be updated:

if(my $JavaCmd = get_CmdPath("java"))
{
    if(my $Ver = `$JavaCmd -version 2>&1`)
    {
        if($Ver=~/(java|openjdk) version "(.+)\"/) {
            printMsg("INFO", "Using Java $2");
        }
    }
}

Unfortunately this doesn't solve the issue mentioned above.

@KostyaSha
Copy link

@aponomarenko hi, any updates on this topic?

@lvc lvc closed this as completed Mar 3, 2015
@aponomarenko
Copy link
Collaborator

The issue has been fixed by the commit 9499535

Thanks to all!

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

4 participants