{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3270","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3270/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3270/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3270/events","html_url":"https://github.com/jruby/jruby/issues/3270","id":102154407,"number":3270,"title":"Kernel#require cannot find compiled ruby classes in jruby 9.0.0.0","user":{"login":"CeesZ","id":375652,"avatar_url":"https://avatars.githubusercontent.com/u/375652?v=3","gravatar_id":"","url":"https://api.github.com/users/CeesZ","html_url":"https://github.com/CeesZ","followers_url":"https://api.github.com/users/CeesZ/followers","following_url":"https://api.github.com/users/CeesZ/following{/other_user}","gists_url":"https://api.github.com/users/CeesZ/gists{/gist_id}","starred_url":"https://api.github.com/users/CeesZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeesZ/subscriptions","organizations_url":"https://api.github.com/users/CeesZ/orgs","repos_url":"https://api.github.com/users/CeesZ/repos","events_url":"https://api.github.com/users/CeesZ/events{/privacy}","received_events_url":"https://api.github.com/users/CeesZ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jruby/jruby/labels/jit","name":"jit","color":"444444"},{"url":"https://api.github.com/repos/jruby/jruby/labels/JRuby%209000","name":"JRuby 9000","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/jruby/jruby/milestones/41","html_url":"https://github.com/jruby/jruby/milestones/JRuby%209.0.2.0","labels_url":"https://api.github.com/repos/jruby/jruby/milestones/41/labels","id":1260654,"number":41,"title":"JRuby 9.0.2.0","description":"","creator":{"login":"enebo","id":19819,"avatar_url":"https://avatars.githubusercontent.com/u/19819?v=3","gravatar_id":"","url":"https://api.github.com/users/enebo","html_url":"https://github.com/enebo","followers_url":"https://api.github.com/users/enebo/followers","following_url":"https://api.github.com/users/enebo/following{/other_user}","gists_url":"https://api.github.com/users/enebo/gists{/gist_id}","starred_url":"https://api.github.com/users/enebo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enebo/subscriptions","organizations_url":"https://api.github.com/users/enebo/orgs","repos_url":"https://api.github.com/users/enebo/repos","events_url":"https://api.github.com/users/enebo/events{/privacy}","received_events_url":"https://api.github.com/users/enebo/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2015-08-18T14:03:03Z","updated_at":"2015-09-10T11:40:53Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-08-20T14:39:28Z","updated_at":"2015-09-11T13:47:09Z","closed_at":null,"body":"I successfully transferred an application running a large number of\r\nRuby programs in a JAR from jruby-complete-1.7.19 to jruby-complete-9.0.0.0.\r\nHowever, when I use JRUBYC to compile one or more of the ruby programs to\r\nJava classes (e.g replacing  test2.rb by test2.class in the same position in\r\nthe JAR filestructure) I get \"LoadError: no such file to load -- test2\" as a result of 'require \"tes2\"'\r\nThis worked fine in all previous versions of JRuby but maybe the procedure has changed?"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/139551464","html_url":"https://github.com/jruby/jruby/issues/3270#issuecomment-139551464","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3270","id":139551464,"user":{"login":"CeesZ","id":375652,"avatar_url":"https://avatars.githubusercontent.com/u/375652?v=3","gravatar_id":"","url":"https://api.github.com/users/CeesZ","html_url":"https://github.com/CeesZ","followers_url":"https://api.github.com/users/CeesZ/followers","following_url":"https://api.github.com/users/CeesZ/following{/other_user}","gists_url":"https://api.github.com/users/CeesZ/gists{/gist_id}","starred_url":"https://api.github.com/users/CeesZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CeesZ/subscriptions","organizations_url":"https://api.github.com/users/CeesZ/orgs","repos_url":"https://api.github.com/users/CeesZ/repos","events_url":"https://api.github.com/users/CeesZ/events{/privacy}","received_events_url":"https://api.github.com/users/CeesZ/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T13:47:09Z","updated_at":"2015-09-11T13:47:09Z","body":"Here are the test jars\n\n \n\nFrom: Charles Oliver Nutter [mailto:notifications@github.com] \nSent: vrijdag 4 september 2015 2:22\nTo: jruby/jruby\nCc: Cees Zeelenberg\nSubject: Re: [jruby] Kernel#require cannot find compiled ruby classes in jruby 9.0.0.0 (#3270)\n\n \n\n@CeesZ <https://github.com/CeesZ>  We'll narrow this to just the require_relative issue. Can you provide a small sample repository that shows this problem? With the jruby.aot.loadClasss property set, I don't see why require_relative wouldn't work just fine.\n\n—\nReply to this email directly or view it on GitHub <https://github.com/jruby/jruby/issues/3270#issuecomment-137607111> .  <https://github.com/notifications/beacon/AAW7ZFueWBKtL1woqn6GQtr72uSpzQvVks5ouNukgaJpZM4FvLeH.gif> \n\n"}}