Re: [Jamvm-general] JSR 308: symbol JVM_GetClassTypeAnnotations not defined for JamVM + OpenJDK 8
Brought to you by:
rlougher
From: Robert L. <rob...@gm...> - 2013-04-04 14:45:36
|
Hi Xerxes, On 28 March 2013 14:05, Xerxes Rånby <xe...@za...> wrote: > > Apparently: OpenJDK 8 have quite recently merged in the new JSR 308 and this > require some new functionality inside the libjvm.so > JSR 308: Introduced Type Annotations > http://openjdk.java.net/projects/type-annotations/ > http://mail.openjdk.java.net/pipermail/hotspot-dev/2012-December/007747.html > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004823 > http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/35431a769282 > I've now pushed JSR 308 support in JamVM: http://git.berlios.de/cgi-bin/cgit.cgi/jamvm/commit/?id=10b7c81c597809b2aaf28c8243453a21c33d4af3 This relies on improvements in storage of annotations here: http://git.berlios.de/cgi-bin/cgit.cgi/jamvm/commit/?id=0330f06b5839f4d8c316b46d92de9396dd7e95ad Unfortunately this isn't going to help much in testing JSR 292 with IcedTea 3 (OpenJDK 8)! With the lastest versions of OpenJDK 8, the JSR 292 jtreg tests are currently crashing. I've not had time to look at all the crashes in detail, but the first appears to be related to uses of interface default methods - another new feature of JDK 8. It's likely that the JDK has been updated to use them - I'm hopeful that nothing has changed in the JSR 292 internals. I started looking at interface default methods last week, before stopping work to do JSR 308. From the looks of it, it can be handled by some modifications to the existing code in JamVM for so-called Miranda methods. Hopefully, it'll only take a couple of days. The new JSR 292 implementation in JDK 8 was backported to 7 updates (I believe 7u14), so JamVMs JSR 292 implementation should work with it, although I haven't had time to try it myself (yet). Thanks, Rob. > Cheers > Xerxes > -- > View this message in context: http://old.nabble.com/JSR-308%3A-symbol-JVM_GetClassTypeAnnotations-not-defined-for-JamVM-%2B-OpenJDK-8-tp35228844p35228844.html > Sent from the JamVM mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d > _______________________________________________ > Jamvm-general mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamvm-general |