Fwd: Compiler Crash
Neal Gafter
neal at gafter.com
Sun May 11 20:19:05 PDT 2008
Forwarded FYI
---------- Forwarded message ----------
From: Tony Morris <tmorris at tmorris.net>
Date: Thu, May 8, 2008 at 4:48 PM
Subject: Compiler Crash
To: Neal Gafter <neal at gafter.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Neal,
I have successfully isolated the crash in BGGA 2008-05-04. Below is some
source code that will crash the compiler. Removing the 'final' modifier
from the Integer field compiles fine. I hope this helps.
interface F<A, B> {
B f(A a);
}
class X {
static Integer x(final F<Integer, Integer> f) {
return 0;
}
final Integer i = x({int a => a + 42});
}
- --
Tony Morris
http://tmorris.net/
Real-world problems are simply degenerate cases of pure mathematical
problems.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFII5E0mnpgrYe6r60RAvXgAJ4iTXL8wOD/ZedqPycLubucpDavJACfW522
2MvihEi6Hs5IkMGrmyPhkN4=
=UtK+
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20080511/013ec331/attachment.html
More information about the closures-dev
mailing list