{"action":"closed","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/1285","repository_url":"https://api.github.com/repos/jruby/jruby","labels_url":"https://api.github.com/repos/jruby/jruby/issues/1285/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/1285/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/1285/events","html_url":"https://github.com/jruby/jruby/issues/1285","id":23515524,"number":1285,"title":"Broken JRuby and UTF-8 method names","user":{"login":"ujifgc","id":108798,"avatar_url":"https://avatars.githubusercontent.com/u/108798?v=3","gravatar_id":"","url":"https://api.github.com/users/ujifgc","html_url":"https://github.com/ujifgc","followers_url":"https://api.github.com/users/ujifgc/followers","following_url":"https://api.github.com/users/ujifgc/following{/other_user}","gists_url":"https://api.github.com/users/ujifgc/gists{/gist_id}","starred_url":"https://api.github.com/users/ujifgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujifgc/subscriptions","organizations_url":"https://api.github.com/users/ujifgc/orgs","repos_url":"https://api.github.com/users/ujifgc/repos","events_url":"https://api.github.com/users/ujifgc/events{/privacy}","received_events_url":"https://api.github.com/users/ujifgc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2013-11-30T05:10:12Z","updated_at":"2016-04-01T18:29:08Z","closed_at":"2016-04-01T18:29:08Z","body":"Here's a test case for irb:\r\n\r\n```ruby\r\nclass A\r\n  define_method 'проверка', lambda { p 'nunu' }\r\n  p instance_method 'проверка'\r\nend\r\n```\r\n\r\nFails with `NameError: undefined method` on JRuby-1.7.6\r\nPass ok on MRI and RBX\r\n\r\nHere's a fix:\r\n\r\n```\r\nclass A\r\n  define_method :'проверка', lambda { p 'nunu' }\r\n  p instance_method :'проверка'\r\nend\r\n```\r\n\r\nFor me it seems broken. JRuby 1.7.4 passed this test."}}