On Apr 12, 2011, at 2:56 PM, Ola Bini wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> Since there are not many projects out there that already use JSR 292 >> (JRuby and phpreboot are the only real users that I know of, but maybe I >> missed something), the code path coverage is low and almost every new >> project finds a bug (or more). > Christian, if you want to see a few more code paths exercised, you can > also use Seph. The test suite does some things with SwitchPoints etc, > that I'm not sure anyone else uses. It's under heavy development though, > and I haven't tried it on any other machine than mine: > > https://github.com/seph-lang/seph > > it should be a simple matter of running ant though.
Awesome, thanks! It built but I got errors: [junit] Testsuite: seph.lang.code.BasicSanityTest [junit] Tests run: 40, Failures: 0, Errors: 40, Time elapsed: 0.121 sec Ahh, I see the problem: [junit] Testcase: printing_accumulator_values(seph.lang.code.BasicSanityTest): Caused an ERROR [junit] null [junit] java.lang.ExceptionInInitializerError [junit] at seph.lang.Runtime.<init>(Runtime.java:76) [junit] at seph.lang.code.BasicSanityTest.printing_accumulator_values(BasicSanityTest.java:175) [junit] Caused by: java.lang.IllegalArgumentException: no leading reference parameter: true [junit] at java.lang.invoke.MethodHandleStatics.newIllegalArgumentException(MethodHandleStatics.java:81) [junit] at java.lang.invoke.MethodHandle.bindTo(MethodHandle.java:1001) [junit] at java.lang.invoke.MethodHandles.constant(MethodHandles.java:1625) [junit] at java.lang.invoke.SwitchPoint.<clinit>(SwitchPoint.java:113) This is covered by: 7035513: JSR 292: MHs.constant() doesn't accept primitives -- Christian _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev