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

Add Java 17 support #20

Open
scottsteen opened this issue Oct 28, 2021 · 0 comments
Open

Add Java 17 support #20

scottsteen opened this issue Oct 28, 2021 · 0 comments

Comments

@scottsteen
Copy link

It appears the version of asm used does not support Java 17 bytecode.

Caused by: : java.lang.IllegalArgumentException: Unsupported class file major version 61
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:109)
	at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:90)
	at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:117)

        // snip...
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 61
	at org.pitest.highwheel.parser.asm.ClassReader.<init>(ClassReader.java:196)
	at org.pitest.highwheel.parser.asm.ClassReader.<init>(ClassReader.java:177)
	at org.pitest.highwheel.parser.asm.ClassReader.<init>(ClassReader.java:163)
	at org.pitest.highwheel.parser.asm.ClassReader.<init>(ClassReader.java:284)
	at org.pitest.highwheel.bytecodeparser.ClassPathParser.parseClass(ClassPathParser.java:42)
	at org.pitest.highwheel.bytecodeparser.ClassPathParser.parse(ClassPathParser.java:32)
	at org.pitest.highwheel.Highwheel.analyse(Highwheel.java:44)
	at org.pitest.highwheel.ant.AnalyseTask.analyse(AnalyseTask.java:71)
	at org.pitest.highwheel.ant.AnalyseTask.execute(AnalyseTask.java:57)
	
        // snip...

Please update the dependencies to support Java 17.

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

1 participant