You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] java.lang.IllegalArgumentException: Unsupported class file major version 67 java.lang.IllegalArgumentException: Unsupported class file major version 67 at org.objectweb.asm.ClassReader.<init>(ClassReader.java:199) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:180) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:287) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ClassStub$1.doParse(ClassStub.java:95) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ParseLock.getFinalStatus(ParseLock.java:33) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ParseLock.isFailed(ParseLock.java:58) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ClassStub.isUnresolved(ClassStub.java:478) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.checkUserEnclosingTypeIsOk(ClassTypeImpl.java:452) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.validateParams(ClassTypeImpl.java:418) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.<init>(ClassTypeImpl.java:69) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.<init>(ClassTypeImpl.java:64) at net.sourceforge.pmd.lang.java.types.TypeSystem.typeOf(TypeSystem.java:458) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymTableFactory.fillSingleImports(SymTableFactory.java:261) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymTableFactory.singleImportsSymbolTable(SymTableFactory.java:232) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.visit(SymbolTableResolver.java:211) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.visit(SymbolTableResolver.java:135) at net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit.acceptVisitor(ASTCompilationUnit.java:83) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.traverse(SymbolTableResolver.java:161) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver.traverse(SymbolTableResolver.java:98) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.lambda$process$1(JavaAstProcessor.java:132) at net.sourceforge.pmd.benchmark.TimeTracker.bench(TimeTracker.java:163) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:132) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:164) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:148) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:69) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.lang.Thread.run(Thread.java:1575)
The text was updated successfully, but these errors were encountered:
Hi @CLandsberg! I love your enthusiasm! Unfortunately RefactorFirst uses PMD and JavaParser to parse files, both of which can only parse Java 21 files at this time. I'm looking at moving to OpenRewrite, but that will take some work and some time to implement.
Java 23 does notwork yet.
[ERROR] java.lang.IllegalArgumentException: Unsupported class file major version 67 java.lang.IllegalArgumentException: Unsupported class file major version 67 at org.objectweb.asm.ClassReader.<init>(ClassReader.java:199) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:180) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:166) at org.objectweb.asm.ClassReader.<init>(ClassReader.java:287) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ClassStub$1.doParse(ClassStub.java:95) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ParseLock.getFinalStatus(ParseLock.java:33) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ParseLock.isFailed(ParseLock.java:58) at net.sourceforge.pmd.lang.java.symbols.internal.asm.ClassStub.isUnresolved(ClassStub.java:478) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.checkUserEnclosingTypeIsOk(ClassTypeImpl.java:452) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.validateParams(ClassTypeImpl.java:418) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.<init>(ClassTypeImpl.java:69) at net.sourceforge.pmd.lang.java.types.ClassTypeImpl.<init>(ClassTypeImpl.java:64) at net.sourceforge.pmd.lang.java.types.TypeSystem.typeOf(TypeSystem.java:458) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymTableFactory.fillSingleImports(SymTableFactory.java:261) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymTableFactory.singleImportsSymbolTable(SymTableFactory.java:232) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.visit(SymbolTableResolver.java:211) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.visit(SymbolTableResolver.java:135) at net.sourceforge.pmd.lang.java.ast.ASTCompilationUnit.acceptVisitor(ASTCompilationUnit.java:83) at net.sourceforge.pmd.lang.java.ast.AbstractJavaNode.acceptVisitor(AbstractJavaNode.java:38) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver$MyVisitor.traverse(SymbolTableResolver.java:161) at net.sourceforge.pmd.lang.java.symbols.table.internal.SymbolTableResolver.traverse(SymbolTableResolver.java:98) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.lambda$process$1(JavaAstProcessor.java:132) at net.sourceforge.pmd.benchmark.TimeTracker.bench(TimeTracker.java:163) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:132) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:164) at net.sourceforge.pmd.lang.java.internal.JavaAstProcessor.process(JavaAstProcessor.java:148) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:69) at net.sourceforge.pmd.lang.java.ast.JavaParser.parseImpl(JavaParser.java:25) at net.sourceforge.pmd.lang.ast.impl.javacc.JjtreeParserAdapter.parse(JjtreeParserAdapter.java:36) at net.sourceforge.pmd.lang.impl.PmdRunnable.parse(PmdRunnable.java:112) at net.sourceforge.pmd.lang.impl.PmdRunnable.processSource(PmdRunnable.java:132) at net.sourceforge.pmd.lang.impl.PmdRunnable.run(PmdRunnable.java:80) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572) at java.util.concurrent.FutureTask.run(FutureTask.java:317) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) at java.lang.Thread.run(Thread.java:1575)
The text was updated successfully, but these errors were encountered: