-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b152
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8315401 | 8u401 | Anawesha Khuntia | P4 | Resolved | Fixed | b01 |
The test's jtreg attributes are:
/*
* @test
* @bug 8024947
* @summary javac should issue the potentially ambiguous overload warning only
* where the problem appears
* @compile/fail/ref=PotentiallyAmbiguousWarningTest.out -XDrawDiagnostics -Werror -Xlint:overloads PotentiallyAmbiguousWarningTest.java
* @compile PotentiallyAmbiguousWarningTest.java
*/
The second @compile shouldn't be there.
/*
* @test
* @bug 8024947
* @summary javac should issue the potentially ambiguous overload warning only
* where the problem appears
* @compile/fail/ref=PotentiallyAmbiguousWarningTest.out -XDrawDiagnostics -Werror -Xlint:overloads PotentiallyAmbiguousWarningTest.java
* @compile PotentiallyAmbiguousWarningTest.java
*/
The second @compile shouldn't be there.
- backported by
-
JDK-8315401 test test/tools/javac/lambda/T8024947/PotentiallyAmbiguousWarningTest.java has an extra @compile attribute that should be removed
- Resolved