Skip to content

Commit dc6b08c

Browse files
authored
Set default severity of "Circular classpath" to warning (#2170)
- Set org.eclipse.jdt.core.circularClasspath to warning by default Signed-off-by: Shi Chen [email protected]
1 parent 7195e7c commit dc6b08c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/preferences/PreferenceManager.java

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ public static void initializeJavaCoreOptions() {
143143
javaCoreOptions.put(JavaCore.COMPILER_PB_REDUNDANT_SUPERINTERFACE, JavaCore.WARNING);
144144
javaCoreOptions.put(JavaCore.CODEASSIST_SUBWORD_MATCH, JavaCore.DISABLED);
145145
javaCoreOptions.put(JavaCore.COMPILER_PB_MISSING_SERIAL_VERSION, JavaCore.IGNORE);
146+
// workaround for https://github.com/redhat-developer/vscode-java/issues/718
147+
javaCoreOptions.put(JavaCore.CORE_CIRCULAR_CLASSPATH, JavaCore.WARNING);
146148
JavaCore.setOptions(javaCoreOptions);
147149
}
148150

0 commit comments

Comments
 (0)