hg: tiered-attrib/dev/langtools: new golden file for test T8065986b.java

vicente.romero at oracle.com vicente.romero at oracle.com
Wed Apr 15 21:10:26 UTC 2015


Changeset: d237b7839304
Author:    vromero
Date:      2015-04-15 14:10 -0700
URL:       http://hg.openjdk.java.net/tiered-attrib/dev/langtools/rev/d237b7839304

new golden file for test T8065986b.java
In this case the difference comes from the context in which the error is detected. In the case of TA diamond expressions
are converted to a structural type which is not checked during overload resolution. For this reason the error is detected
during overload resolution of the outer expression, in this case a constructor call. Again in the context of TA, during
overload there is no result info involved so there are no specialized reports for diamond as in the case of current javac
when the diamond expression is checked during overload resolution, an a result info with a specialized report issues the error.
In any case the reported error is equivalent even when it's not exactly the same.

! test/tools/javac/generics/diamond/8065986/T8065986b.out



More information about the tiered-attrib-dev mailing list