JDK-7131308 : Three regression tests fail due to bad fix for 7127924
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2012-01-19
  • Updated: 2012-03-02
  • Resolved: 2012-03-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b23Fixed
Related Reports
Relates :  
Description
These failures occur:
tools/javac/diags/CheckExamples.java                                                        Error. Parse Exception: Unexpected length for bugid: 6968063,
tools/javac/diags/MessageInfo.java                                                          Error. Parse Exception: Unexpected length for bugid: 7013272,
tools/javac/diags/RunExamples.java                                                          Error. Parse Exception: Unexpected length for bugid: 6968063,

Comments
EVALUATION The problem is the tests have a comma between the bug numbers in the @bug directive.
19-01-2012

SUGGESTED FIX hg diff test diff -r 1e2f4f4fb9f7 test/tools/javac/diags/CheckExamples.java --- a/test/tools/javac/diags/CheckExamples.java Tue Jan 17 17:14:44 2012 -0800 +++ b/test/tools/javac/diags/CheckExamples.java Wed Jan 18 18:19:00 2012 -0800 @@ -23,7 +23,7 @@ /* * @test - * @bug 6968063, 7127924 + * @bug 6968063 7127924 * @summary provide examples of code that generate diagnostics * @build Example CheckExamples * @run main/othervm CheckExamples diff -r 1e2f4f4fb9f7 test/tools/javac/diags/MessageInfo.java --- a/test/tools/javac/diags/MessageInfo.java Tue Jan 17 17:14:44 2012 -0800 +++ b/test/tools/javac/diags/MessageInfo.java Wed Jan 18 18:19:00 2012 -0800 @@ -23,7 +23,7 @@ /** * @test - * @bug 7013272, 7127924 + * @bug 7013272 7127924 * @summary Automatically generate info about how compiler resource keys are used * @build Example ArgTypeCompilerFactory MessageFile MessageInfo * @run main/othervm MessageInfo diff -r 1e2f4f4fb9f7 test/tools/javac/diags/RunExamples.java --- a/test/tools/javac/diags/RunExamples.java Tue Jan 17 17:14:44 2012 -0800 +++ b/test/tools/javac/diags/RunExamples.java Wed Jan 18 18:19:00 2012 -0800 @@ -23,7 +23,7 @@ /** * @test - * @bug 6968063, 7127924 + * @bug 6968063 7127924 * @summary provide examples of code that generate diagnostics * @build ArgTypeCompilerFactory Example HTMLWriter RunExamples * @run main/othervm RunExamples
19-01-2012