We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ex: install ubuntu, install default-jre-headless
run this:
https://gist.github.com/rdp/b25a0483c196c856c33a
require 'java'
class A < javax.swing.JFrame
def initialize _args super(_args) end end
A.new
expected output:
Java::JavaAwt::HeadlessException exception (which is generated with a straight javax.swing.JFrame.new call)
current output:
jruby ArgumentError: Constructor invocation failed: null
it's like the real error message is being masked.
possibly not a high prio, but thought I'd mention it.
The text was updated successfully, but these errors were encountered:
gist version runs fine on 9K (exits), while your piece here fails as expected with a
ArgumentError: wrong number of arguments (0 for 1)
... which is expected since the argument is not provided.
assuming this is resolved with the updated JI overload method matching, for 1.7.x is won't fix.
Sorry, something went wrong.
No branches or pull requests
ex:
install ubuntu, install default-jre-headless
run this:
https://gist.github.com/rdp/b25a0483c196c856c33a
require 'java'
class A < javax.swing.JFrame
def initialize _args
super(_args)
end
end
A.new
expected output:
Java::JavaAwt::HeadlessException exception (which is generated with a straight javax.swing.JFrame.new call)
current output:
jruby ArgumentError: Constructor invocation failed: null
it's like the real error message is being masked.
possibly not a high prio, but thought I'd mention it.
The text was updated successfully, but these errors were encountered: