7024212: TestWarnErrorCount fails

TestWarnErrorCount should be executed with -Xlint:all,-path to avoid spurious failures

Reviewed-by: jjg
This commit is contained in:
Maurizio Cimadamore 2011-03-03 18:05:52 +00:00
parent f416cac815
commit 7b3d32182e

View file

@ -161,7 +161,7 @@ public class TestWarnErrorCount extends JavacTestingAbstractProcessor {
"-d", testDir.getPath(), "-d", testDir.getPath(),
"-processor", myName, "-processor", myName,
// "-XprintRounds", // "-XprintRounds",
"-Xlint", "-Xlint:all,-path",
"-AerrKind=" + ek, "-AerrKind=" + ek,
"-AmsgrWarnKind=" + mwk, "-AmsgrWarnKind=" + mwk,
"-AjavaWarnKind=" + jwk)); "-AjavaWarnKind=" + jwk));