Skip to content

Java 17 support #263

@olafurpg

Description

@olafurpg

Java 17 will be released soon. We should make sure that lsif-java works with Java 17 once it's available. Opening this issue to track this topic.

--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
--add-exports jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED
  • Make the SemanticDB compiler plugin work with Java 17 (handle breaking changes)
Caused by: java.lang.NoSuchMethodError: 'boolean com.sun.tools.javac.code.Symbol.isLocal()'
	at com.sourcegraph.semanticdb_javac.GlobalSymbolsCache.isLocalVariable(GlobalSymbolsCache.java:60)
	at com.sourcegraph.semanticdb_javac.GlobalSymbolsCache.uncachedSemanticdbSymbol(GlobalSymbolsCache.java:46)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions