mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
compile scratches with debug info (IDEA-145117)
This commit is contained in:
@@ -140,6 +140,7 @@ public class JavaScratchCompilationSupport implements ProjectComponent, CompileT
|
||||
}
|
||||
|
||||
final List<String> options = new ArrayList<String>();
|
||||
options.add("-g"); // always compile with debug info
|
||||
final JavaSdkVersion sdkVersion = JavaSdk.getInstance().getVersion(targetSdk);
|
||||
if (sdkVersion != null) {
|
||||
final String langLevel = "1." + Integer.valueOf(3 + sdkVersion.getMaxLanguageLevel().ordinal());
|
||||
|
||||
Reference in New Issue
Block a user