diff --git a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacProblemConverter.java b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacProblemConverter.java index b1dafbfaeca..35b1ab2a20e 100644 --- a/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacProblemConverter.java +++ b/org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/JavacProblemConverter.java @@ -853,7 +853,7 @@ yield switch (rootCauseCode) { case "compiler.err.cant.access" -> IProblem.NotAccessibleType; case "compiler.err.var.not.initialized.in.default.constructor" -> IProblem.UninitializedBlankFinalField; case "compiler.err.assert.as.identifier" -> IProblem.UseAssertAsAnIdentifier; - case "compiler.warn.unchecked.varargs.non.reifiable.type" -> IProblem.PotentialHeapPollutionFromVararg; + case "compiler.warn.unchecked.varargs.non.reifiable.type", "compiler.warn.varargs.unsafe.use.varargs.param" -> IProblem.PotentialHeapPollutionFromVararg; case "compiler.err.var.might.already.be.assigned" -> IProblem.FinalFieldAssignment; case "compiler.err.annotation.missing.default.value.1" -> IProblem.MissingValueForAnnotationMember; case "compiler.warn.static.not.qualified.by.type" -> {