RFR 8187247: canonical import check compares classes by simple name

Jan Lahoda jan.lahoda at oracle.com
Thu Sep 21 15:43:21 UTC 2017


Hi Liam,

I apologize for belated answer. Seems OK to me, thanks for doing this. 
Only maybe put the test into a directory where it will be separate (e.g. 
importChecks/ImportCanonicalSameName) to avoid interference between this 
test and possible future tests.

Should I integrate this change?

Jan

On 5.9.2017 18:58, Liam Miller-Cushon wrote:
> This change fixes a bug that causes javac to incorrectly accept
> non-canonical imports if the actual and expected symbols have the same
> simple name.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8187247
> Webrev: http://cr.openjdk.java.net/~cushon/8187247/webrev.00/


More information about the compiler-dev mailing list