Skip to content

"java.compile.nullAnalysis.mode: automatic" not inheriting settings from "java.settings.url" #4329

@kiihneC

Description

@kiihneC

When using the setting "java.compile.nullAnalysis.mode: automatic" the following settings are always overridden regardless of what their values in the "java.settings.url" are:

org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=warning
org.eclipse.jdt.core.compiler.problem.nullReference=warning
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=warning
org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning

They are always set to be warning even when the users "java.settings.url" looks like:

org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error
org.eclipse.jdt.core.compiler.problem.nullReference=error
org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error
org.eclipse.jdt.core.compiler.problem.potentialNullReference=error

I would expect when generating the projects metadata it would inherit the default values for these settings from the users "java.settings.url" instead of always defaulting to warning.

Please let me know if there is anymore information that would be helpful, thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions