-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set o.e.j.c.compiler.problem.nullUncheckedConversion to ignore by default #3067
Conversation
@@ -164,6 +164,7 @@ public static void initializeJavaCoreOptions() { | |||
// workaround for https://github.com/redhat-developer/vscode-java/issues/718 | |||
javaCoreOptions.put(JavaCore.CORE_CIRCULAR_CLASSPATH, JavaCore.WARNING); | |||
javaCoreOptions.put(JavaCore.COMPILER_IGNORE_UNNAMED_MODULE_FOR_SPLIT_PACKAGE, JavaCore.ENABLED); | |||
javaCoreOptions.put(JavaCore.COMPILER_PB_NULL_UNCHECKED_CONVERSION, JavaCore.IGNORE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it make more sense to put it within the if/else at
Line 2498 in 2016a78
private Map<String, String> generateProjectNullAnalysisOptions(String nonnullType, String nullableType, String nonnullbydefaultType) { |
Also, looks like Line 70 in 2016a78
.. or is this an issue. |
…ault Signed-off-by: Snjezana Peco <[email protected]>
@rgrunber I have updated the PR.. |
I promise I'm not trying to be a troublemaker 😂 I'm still chasing a problem in #2655 where See my comment at redhat-developer/vscode-java#3501 (comment) I'd love if someone could authoritatively say that this change makes sense whenever null analysis is enabled, or if possibly it's a hammer fix to a problem that could/should be solved differently. Thanks! |
Fixes redhat-developer/vscode-java#3501