Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: JRuby 0.9.8
-
Fix Version/s: JRuby 1.0.0RC1
-
Component/s: Java Integration
-
Labels:None
-
Environment:Mac OS X
-
Number of attachments :
Description
The following simple code results in "stack level too deep (SystemStackError)". This happens in 0.9.8 and in the trunk on 4/5/07.
require 'java'
class MyFrame < javax.swing.JFrame
def initialize
super("Hello Swing!")
pack
end
end
MyFrame.new.visible = true
Attachments
Issue Links
| This issue relates to: | ||||
| JRUBY-29 | Included Java classes will overwrite Ruby proxy methods or existing Ruby methods |
|
|
|
| JRUBY-73 | problem when field and method with same name |
|
|
|
| This issue is superceded by: | ||||
| JRUBY-814 | Multiple improvements to Java integration (was: Java method get lost.) |
|
|
|
| This issue is depended upon by: | ||||
| JRUBY-45 | Java class with initialize() method can't be constructed from jruby |
|
|
|
This seems to be OS-dependent; the example works for me in WinXP/Java6/trunk.