965b4199f4
Write the modular JDK (9+) path to the module.xml file passed to the compiler from the JPS plugin. This path is then recorded in the compiler configuration in KotlinToJVMBytecodeCompiler.configureSourceRoots. This is needed because in JPS plugin, we pass "-no-jdk" and thus no JDK home path was recorded in the compiler configuration in K2JVMCompiler.setupJdkClasspathRoots. Presence of JDK home path in the configuration is crucial for JDK 9 support (see KotlinCoreEnvironment.Companion.createApplicationEnvironment), because classes there can only be loaded with the special "jrt" file system, not as .class files in .jar files #KT-17801 Fixed
14 lines
605 B
XML
Vendored
14 lines
605 B
XML
Vendored
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project version="4">
|
|
<component name="CompilerConfiguration">
|
|
<option name="DEFAULT_COMPILER" value="Javac" />
|
|
</component>
|
|
<component name="ProjectModuleManager">
|
|
<modules>
|
|
<module fileurl="file://$PROJECT_DIR$/kotlinProject.iml" filepath="$PROJECT_DIR$/kotlinProject.iml" />
|
|
</modules>
|
|
</component>
|
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA_JDK" project-jdk-type="JavaSDK">
|
|
<output url="file://$PROJECT_DIR$/out" />
|
|
</component>
|
|
</project> |