United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7086261 javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper
JDK-7086261 : javac doesn't report error as expected, it only reports ClientCodeWrapper$DiagnosticSourceUnwrapper

Details
Type:
Bug
Submit Date:
2011-09-02
Status:
Closed
Updated Date:
2012-02-24
Project Name:
JDK
Resolved Date:
2012-02-24
Component:
tools
OS:
generic
Sub-Component:
javac
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:

Related Reports
Backport:

Sub Tasks

Description
Due to 7074416 changes, the javac doesn't expect error as expected, it only reports something like 
com.sun.tools.javac.api.ClientCodeWrapper$DiagnosticSourceUnwrapper@9df6cf

see comments for test case

                                    

Comments
EVALUATION

Missing override for toString() in ClientCodeUnwrapper.DiagnosticSourceUnwrapper
                                     
2011-09-02
SUGGESTED FIX

A webrev of this fix is available at the following URL:
http://hg.openjdk.java.net/jdk8/tl/langtools/rev/ec27e5befa53
                                     
2011-09-02



Hardware and Software, Engineered to Work Together