JEP 216: Process Import Statements Correctly
Eddie Aftandilian
eaftan at google.com
Wed Oct 22 00:50:18 UTC 2014
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> 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> 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/50eeb79b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jep_216_repro.tar.gz
Type: application/x-gzip
Size: 458 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20141021/50eeb79b/jep_216_repro.tar.gz>
More information about the compiler-dev
mailing list