I tried it on JRuby...perhaps I'm doing something wrong: Command line:
java -javaagent:lib/jsr292-backport.jar -Djruby.home=/Users/headius/projects/jruby -Djruby.compile.invokedynamic=true -Djruby.jit.logging.verbose=true -jar ../jruby/lib/jruby.jar -e "puts 1" Error: 2012-07-30T16:45:58.970-05:00: Ruby: java/lang/invoke/CallSite java.lang.NoClassDefFoundError: java/lang/invoke/CallSite at org.jruby.compiler.impl.InvokeDynamicCacheCompiler.cacheFixnum(InvokeDynamicCacheCompiler.java:231) at org.jruby.compiler.impl.BaseBodyCompiler.createNewFixnum(BaseBodyCompiler.java:429) at org.jruby.compiler.ASTCompiler.compileFixnum(ASTCompiler.java:2452) at org.jruby.compiler.ASTCompiler.compile(ASTCompiler.java:289) at org.jruby.compiler.ASTCompiler19.compile(ASTCompiler19.java:87) at org.jruby.compiler.ASTCompiler$SpecificArityArguments.call(ASTCompiler.java:523) - Charlie On Sun, Jul 29, 2012 at 7:10 PM, Mark Roos <mr...@roos.com> wrote: > Hi Rémi > > gave it a shot with this launch > java -javaagent:jsr292-backport.jar -agentpath:javaDebug.dylib > ri/experiment2/TestSm > > > Got this error > C: Unable to locate callback class. > java.lang.NoClassDefFoundError > - klass: 'java/lang/NoClassDefFoundError' > ./testBackport: line 3: 38777 Trace/BPT trap: 5 java > -javaagent:jsr292-backport.jar -agentpath:javaDebug.dylib > ri/experiment2/TestSm > > I usually put my jar file on the bootClassPath, but I didn't think I needed > it here. > > everything is in the same directory > > see you tomorrow > > mark > _______________________________________________ > mlvm-dev mailing list > mlvm-dev@openjdk.java.net > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev