Internal Compiler Error: cannot instantiate <anonymous Test$1$1>() at <anonymous InterfaceB> to ()
Andreas Kohn
andreas.kohn at fredhopper.com
Wed May 11 08:16:47 PDT 2011
On Wed, 2011-05-11 at 17:11 +0200, Maurizio Cimadamore wrote:
> Hi Andreas,
> this is a regression that has been introduced in b44 by the following fix:
>
> http://bugs.sun.com/view_bug.do?bug_id=6723444
>
> We will see if we can fix this for JDK 7.
Thanks a lot!
--
Andreas
>
> Thanks
> Maurizio
>
>
> On 11/05/11 16:00, Andreas Kohn wrote:
> > Hi,
> >
> > I've hit an internal compiler error in javac:
> > src/Test.java:26: error: internal error; cannot instantiate<anonymous Test$1$1>() at<anonymous InterfaceB> to ()
> > return new InterfaceB() {
> > ^
> > 1 error
> > (no options other than the source file given to javac)
> >
> >
> > This happens with the attached source code, with javac full version
> > "1.7.0-ea-b141" (could reproduce also with b78, don't have older
> > versions :D)
> > The error does not happen with javac full version "1.6.0_25-b06".
> >
> >
> > Is this a known bug?
> >
> > Regards,
> > --
> > Andreas
> >
>
--
If you need to do something under high load with failures occurring and
you need to reach agreement -- you're lost.
Werner Vogel, CTO Amazon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20110511/2e9a11d3/attachment.bin
More information about the compiler-dev
mailing list