Re: [Jamvm-general] Crash running OpenJDK 8 build.tools.generatenimbus.Generator, a regression sinc
Brought to you by:
rlougher
From: Andrew H. <gnu...@re...> - 2013-04-29 10:27:52
|
----- Original Message ----- > Hi Andrew, > > On 26 April 2013 17:33, Andrew Hughes <gnu...@re...> wrote: > > > > > > ----- Original Message ----- > >> Hi Xerxes, > >> > >> On 26 April 2013 13:10, Xerxes Rånby <xe...@za...> wrote: > >> > > >> > Unfortunally I still see some issues related to isAnnotationPresent on > >> > this > >> > 32bit x86 system: > >> > I am using your latest commit b0651cde57c7a48651c99d7f4fb44ba7b2fae9b3 > >> > > >> > >> Must be the difference in the version of OpenJDK 8 I'm using - I'm not > >> sure what version it is - I downloaded it about 2 weeks ago. Can you > >> provide some instructions to get the version of IcedTea you're using? > >> > > > > Hi Rob, > > > > IcedTea is currently using OpenJDK 8 b80. We'll look at shifting to a > > newer > > version sooner or later, but all the security work with 6 & 7 has to take > > priority. > > > > No problem. I expect to see more issues as things get integrated into > OpenJDK 8 and "feature complete" approaches. > > > BTW, is there a particular version of JamVM you'd recommend for using with > > 7? I'm > > hoping to do a new release of IcedTea for OpenJDK 7 in the next week or so > > and > > was planning to just bump JamVM to the current git HEAD, but if there's a > > better > > point to use, I'd be happy to do that instead. Ideally, it'd be nice to > > keep all > > three in sync (6,7 & 8). > > > > Yes. I've been trying to ensure that all three can be built from the > same code base. All the new JSRs for JDK 8 are ifdefed, and aren't > built when configured for 6 or 7. This way general bug-fixes and > improvements will be shared (although most of the recent changes have > been for 8, the reworking of annotation storage will benefit all > versions). > > Thanks, > Rob. > > P.S. As far as I'm aware, the JSR292 work in JDK 8 was backported to > OpenJDK 7 (u14?). This should work with JamVM (as JSR292 support was > done for JDK 8). Hopefully at some point IcedTea-2/JamVM should be > able to get JSR292 support... > There is no u14. The next feature release will be u40 in August now, over a year after the last one (u6) (Oracle craziness...). However, this work is already used by IcedTea 2.x HEAD and so, if I bump JamVM there, we should hopefully get a working solution for the imminent 2.4.0 release. If someone wants to test that, I'd be very grateful :) > >> Thanks, > >> Rob. > >> > >> > Unrecognised bytecode XXX found while preparing > >> > java/lang/reflect/AnnotatedElement.isAnnotationPresent(Ljava/lang/Class;)Z > >> > > >> > Below i only post the output from 10 consecutive runs: > >> > > >> > xranby@xranby-ESPRIMO-P7935:~/icedtea-8-b80$ cd > >> > /home/xranby/icedtea-8-b80/openjdk/jdk/makefiles > >> > xranby@xranby-ESPRIMO-P7935:~/icedtea-8-b80/openjdk/jdk/makefiles$ > >> > /home/xranby/icedtea-8-b80/bootstrap/jdk1.7.0/bin/java -Xms64M -Xmx1100M > >> > -XX:PermSize=32m -XX:MaxPermSize=160m -XX:ThreadStackSize=1536 > >> > -XX:-PrintVMOptions -XX:-UnlockDiagnosticVMOptions -XX:-LogVMOutput -cp > >> > /home/xranby/icedtea-8-b80/openjdk.build/jdk/btclasses > >> > build.tools.generatenimbus.Generator \ > >> >> -skinFile > >> >> /home/xranby/icedtea-8-b80/openjdk/jdk/src/share/classes/javax/swing/plaf/nimbus/skin.laf > >> >> -buildDir /home/xranby/icedtea-8-b80/openjdk.build/jdk/gensrc \ > >> >> -packagePrefix javax.swing.plaf.nimbus -lafName Nimbus > >> > ### GENERATING LAF CODE ################################ > >> > > >> > #ouput run 1: > >> > Segmenteringsfel (minnesutskrift skapad) > >> > > >> > #ouput run 2: > >> > Unrecognised bytecode 235 found while preparing > >> > java/lang/reflect/AnnotatedElement.isAnnotationPresent(Ljava/lang/Class;)Z > >> > > >> > #ouput run 3: > >> > Unrecognised bytecode 224 found while preparing > >> > java/lang/reflect/AnnotatedElement.isAnnotationPresent(Ljava/lang/Class;)Z > >> > > >> > #ouput run 4: > >> > Segmenteringsfel (minnesutskrift skapad) > >> > > >> > #ouput run 5: > >> > Unrecognised bytecode 202 found while preparing > >> > java/lang/reflect/AnnotatedElement.isAnnotationPresent(Ljava/lang/Class;)Z > >> > > >> > #ouput run 6: > >> > Segmenteringsfel (minnesutskrift skapad) > >> > > >> > #ouput run 7: > >> > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: > >> > -122622118 > >> > at > >> > java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:126) > >> > at > >> > com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.hasFieldAnnotation(RuntimeInlineAnnotationReader.java:50) > >> > at ... > >> > > >> > #ouput run 8: > >> > Unrecognised bytecode 208 found while preparing > >> > java/lang/reflect/AnnotatedElement.isAnnotationPresent(Ljava/lang/Class;)Z > >> > > >> > #ouput run 9: > >> > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: > >> > -122622119 > >> > at > >> > java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:126) > >> > at > >> > com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.hasFieldAnnotation(RuntimeInlineAnnotationReader.java:50) > >> > at > >> > com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.hasFieldAnnotation(RuntimeInlineAnnotationReader.java:42)... > >> > > >> > #ouput run 10: > >> > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: > >> > 1912329880 > >> > at > >> > java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:126) > >> > at > >> > com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.hasFieldAnnotation(RuntimeInlineAnnotationReader.java:50) > >> > at > >> > com.sun.xml.internal.bind.v2.model.annotation.RuntimeInlineAnnotationReader.hasFieldAnnotation(RuntimeInlineAnnotationReader.java:42) > >> > at > >> > com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(ClassInfoImpl.java:367)... > >> > -- > >> > View this message in context: > >> > http://old.nabble.com/Crash-running-OpenJDK-8-build.tools.generatenimbus.Generator%2C-a-regression-since-JamVM-%2B-OpenJDK-7-tp35322824p35336632.html > >> > Sent from the JamVM mailing list archive at Nabble.com. > >> > > >> > > >> > ------------------------------------------------------------------------------ > >> > Try New Relic Now & We'll Send You this Cool Shirt > >> > New Relic is the only SaaS-based application performance monitoring > >> > service > >> > that delivers powerful full stack analytics. Optimize and monitor your > >> > browser, app, & servers with just a few lines of code. Try New Relic > >> > and get this awesome Nerd Life shirt! > >> > http://p.sf.net/sfu/newrelic_d2d_apr > >> > _______________________________________________ > >> > Jamvm-general mailing list > >> > Jam...@li... > >> > https://lists.sourceforge.net/lists/listinfo/jamvm-general > >> > >> ------------------------------------------------------------------------------ > >> Try New Relic Now & We'll Send You this Cool Shirt > >> New Relic is the only SaaS-based application performance monitoring > >> service > >> that delivers powerful full stack analytics. Optimize and monitor your > >> browser, app, & servers with just a few lines of code. Try New Relic > >> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > >> _______________________________________________ > >> Jamvm-general mailing list > >> Jam...@li... > >> https://lists.sourceforge.net/lists/listinfo/jamvm-general > >> > > > > -- > > Andrew :) > > > > Free Java Software Engineer > > Red Hat, Inc. (http://www.redhat.com) > > > > PGP Key: 248BDC07 (https://keys.indymedia.org/) > > Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 > > > > ------------------------------------------------------------------------------ > Try New Relic Now & We'll Send You this Cool Shirt > New Relic is the only SaaS-based application performance monitoring service > that delivers powerful full stack analytics. Optimize and monitor your > browser, app, & servers with just a few lines of code. Try New Relic > and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr > _______________________________________________ > Jamvm-general mailing list > Jam...@li... > https://lists.sourceforge.net/lists/listinfo/jamvm-general > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07 |