You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin C02LX2KVFD58.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
Test I used
require'java'require'jruby/core_ext'# from https://github.com/jruby/jruby/wiki/JRuby-Reference#java_annotationjava_package'test.hello'java_annotation'Path("/helloworld")'classHelloWorldendjava_class=HelloWorld.become_java!puts"java_class had annotations: #{!java_class.annotations.empty?}"
I expect it to print I had annotations: true, but it prints I had annotations: false. Correspondingly, when I try to use an annotated Ruby class in some Java code, Java also complains that none exist.
The text was updated successfully, but these errors were encountered:
Environment
jruby 1.7.19 (1.9.3p551) 2015-01-29 20786bd on Java HotSpot(TM) 64-Bit Server VM 1.8.0_65-b17 +jit [darwin-x86_64]
--1.9 -J-Xms256m -J-Xmx1024m -J-Dsun.rmi.dgc.client.gcInterval=3600000 -J-Dsun.rmi.dgc.server.gcInterval=3600000 -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:MaxPermSize=128m --headless
Darwin C02LX2KVFD58.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
Test I used
I expect it to print
I had annotations: true
, but it printsI had annotations: false
. Correspondingly, when I try to use an annotated Ruby class in some Java code, Java also complains that none exist.The text was updated successfully, but these errors were encountered: