-
-
Save rdp/b25a0483c196c856c33a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'java' | |
class A < javax.swing.JFrame | |
def initialize *args | |
super(*args) | |
end | |
end | |
A.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ruby -v bad.rb
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on OpenJDK 64-Bit Server VM 1.7.0_55-b14 +jit [linux-amd64]
ArgumentError: Constructor invocation failed: null
initialize at bad.rb:6
(root) at bad.rb:10