Compiler: No output from jruby --java if class is in a Module -------------------------------------------------------------
Key: JRUBY-4993 URL: http://jira.codehaus.org/browse/JRUBY-4993 Project: JRuby Issue Type: Bug Components: Compiler Affects Versions: JRuby 1.6 Environment: JVM 6 on WinXP, JVM 5 on Leopard PPC Reporter: Ian Dees With the following code in {{foo.rb}}: {noformat} require 'java' module Foo class Bar java_signature 'int baz()' def baz 123 end end end {noformat} ... {{jrubyc --java foo.rb}} outputs nothing. Stripping away the {{module}} ... {{end}} and trying again results in the expected {{Bar.java}} being generated. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email