Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JRuby 1.6.1
    • Fix Version/s: JRuby 1.6.3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      This worked previously in 1.6.0, breaks in 1.6.1

      Problem is the java class name generated by jrubyc is incorrect.

      snack(~) % cat test.rb
      puts "Hello world!"
      snack(~) % jrubyc test.rb
      stringsnack(~) % strings ./test.class | head -1
      6ruby/jit/FILE_11ED3A61A4256FA54D81BAAFFD4F6A02089FE4DB
      snack(~) % java test
      Exception in thread "main" java.lang.NoClassDefFoundError: test (wrong name: ruby/jit/FILE_11ED3A61A4256FA54D81BAAFFD4F6A02089FE4DB)
      

      And in 1.6.0 for confirmation of prior-working:

      snack(~) % rvm use 1.6.0
      Using /home/jls/.rvm/gems/jruby-1.6.0
      snack(~) % jrubyc test.rb                
      Compiling test.rb to class test
      snack(~) % !strings
      strings ./test.class | head -1
      test
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Charles Oliver Nutter
            Reporter:
            Jordan Sissel
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: