Skip to content

Support compiling with a newer JDK version than the one running sbt #887

@harrah

Description

@harrah

The incremental compiler currently loads the class files compiled by javac in a class loader in the same jvm as the inc. compiler. This prevents working with a newer classfile version than that of the inc. compiler's jvm, such as when forking javac for a user configured javaHome. To remove this restriction likely requires a substantial rewrite of the Java handling code.

Metadata

Metadata

Assignees

Labels

area/jdk_xjdk 9, 10, 11, 17 etc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions