JEP 216: Process Import Statements Correctly
Vicente-Arturo Romero-Zaldivar
vicente.romero at oracle.com
Wed Oct 22 00:58:07 UTC 2014
Hi Eddie,
Thanks a lot for the bug report,
Vicente
On 10/21/2014 05:50 PM, Eddie Aftandilian wrote:
> We received another bug report a few days ago. I've minimized it and
> attached it to this email. When I try to compile this code, I get a
> "symbol not found" error. If I comment out the static import in the
> package1/ClientImpl.java file, then it compiles. I can reproduce with
> javac 1.7.0 and 1.8.0_05.
>
> % javac package1/ClientImpl.java
> package1/ClientImpl.java:10: error: cannot find symbol
> static class TransactionImpl<T> implements Transaction<T> {
> ^
> symbol: class Transaction
> location: class ClientImpl
> package1/ClientImpl.java:18: error: method does not override or
> implement a method from a supertype
> @Override
> ^
> 2 errors
>
> On Fri, Oct 17, 2014 at 11:07 AM, Vicente-Arturo Romero-Zaldivar
> <vicente.romero at oracle.com <mailto:vicente.romero at oracle.com>> wrote:
>
> Please send us related bug reports :)
>
> Thanks,
> Vicente
>
>
> On 10/16/2014 10:32 AM, Eddie Aftandilian wrote:
>> FWIW, at Google we get a bug report for this roughly once a
>> month. It would be great to have it fixed.
>>
>> On Thu, Oct 16, 2014 at 10:20 AM, <mark.reinhold at oracle.com
>> <mailto:mark.reinhold at oracle.com>> wrote:
>>
>> New JEP Candidate: http://openjdk.java.net/jeps/216
>>
>> - Mark
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20141021/e7ea9b17/attachment.html>
More information about the compiler-dev
mailing list