[Bug 921916] Re: rhino crashes with NoClassDefFoundError on OpenJDK7

2012-01-25 Thread Gabe Gorelick
** Description changed: If the default Java is OpenJDK7, rhino crashs with a java.lang.NoClassDefFoundError for java.lang.invoke.MethodHandle. The java.lang.invoke package is part of the new invokedynamic feature introduced in Java 7. It looks the problem is in the shell script that l

[Bug 921916] Re: rhino crashes with NoClassDefFoundError on OpenJDK7

2012-01-25 Thread Gabe Gorelick
It looks like this is not an issue in Precise because the bootclasspath overriding isn't needed anymore [1] . [1] http://bazaar.launchpad.net/~ubuntu- branches/ubuntu/precise/rhino/precise/view/head:/debian/bin/rhino -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 921916] Re: rhino crashes with NoClassDefFoundError on OpenJDK7

2012-01-25 Thread Gabe Gorelick
It would be convenient if rhino could just point to default-java, i.e. if [ $isOpenJDK -gt 0 ] then JAVA_OPTS="-Xbootclasspath:/usr/lib/jvm/default-java/jre/lib/rt.jar" fi but bug #687263 breaks this. It turns out default-java is _not_ related to what /usr/bin/java points to. Rather, defa

[Bug 921916] Re: rhino crashes with NoClassDefFoundError on OpenJDK7

2012-01-25 Thread Gabe Gorelick
** Description changed: If the default Java is OpenJDK7, rhino crashs with a java.lang.NoClassDefFoundError for java.lang.invoke.MethodHandle. The java.lang.invoke package is the part of new invokedynamic feature introduced in Java 7. - It looks the problem is in the shell script that l