File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -672,6 +672,8 @@ public int toProblemId(Diagnostic<? extends JavaFileObject> diagnostic) {
672672 case "compiler.err.illegal.dot" -> IProblem .Syntax ;
673673 case "compiler.err.statement.not.expected" -> IProblem .Syntax ;
674674 case "compiler.warn.raw.class.use" -> IProblem .RawTypeReference ;
675+ case "compiler.err.improperly.formed.type.inner.raw.param" -> IProblem .RawMemberTypeCannotBeParameterized ;
676+ case "compiler.err.cant.select.static.class.from.param.type" -> IProblem .StaticMemberOfParameterizedType ;
675677 case "compiler.err.cant.resolve.location" -> switch (getDiagnosticArgumentByType (diagnostic , Kinds .KindName .class )) {
676678 case CLASS -> IProblem .UndefinedType ;
677679 case METHOD -> IProblem .UndefinedMethod ;
@@ -886,6 +888,7 @@ yield switch (rootCauseCode) {
886888 case "compiler.err.non.sealed.with.no.sealed.supertype" -> IProblem .SealedDisAllowedNonSealedModifierInClass ;
887889 case "compiler.err.record.cannot.declare.instance.fields" -> IProblem .RecordNonStaticFieldDeclarationInRecord ;
888890 case "compiler.err.else.without.if" -> IProblem .Syntax ;
891+ case "compiler.err.implicit.class.should.not.have.package.declaration" -> IProblem .Syntax ;
889892 // next are javadoc; defaulting to JavadocUnexpectedText when no better problem could be found
890893 case "compiler.err.dc.bad.entity" -> IProblem .JavadocUnexpectedText ;
891894 case "compiler.err.dc.bad.inline.tag" -> IProblem .JavadocUnexpectedText ;
You can’t perform that action at this time.
0 commit comments