![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.pre1 |
Assignee:
|
Unassigned |
Components:
|
Java Integration |
Created:
|
16/Jul/12 10:21 AM
|
Description:
|
require 'java'
java_import 'sun.awt.X11GraphicsDevice'
leads to an exception:
NameError: cannot link Java class sun.awt.X11GraphicsDevice, probable missing dependency: sun.awt.X11GraphicsDevice.initIDs()
from org/jruby/javasupport/JavaClass.java:1206:in `for_name'
from org/jruby/javasupport/JavaUtilities.java:34:in `get_proxy_class'
from file:/home/rupert/binary/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java/core_ext/object.rb:45:in `java_import'
from org/jruby/RubyArray.java:2350:in `map'
from file:/home/rupert/binary/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java/core_ext/object.rb:41:in `java_import'
from (irb):4:in `evaluate'
from org/jruby/RubyKernel.java:1037:in `eval'
from org/jruby/RubyKernel.java:1353:in `loop'
from org/jruby/RubyKernel.java:1146:in `catch'
from org/jruby/RubyKernel.java:1146:in `catch'
from /home/rupert/binary/jruby-1.7.0-preview1/bin/irb:13:in `(root)'
but
require 'java'
java_import 'java.awt.event.InputEvent'
java_import 'sun.awt.X11GraphicsDevice'
works fine
|
Environment:
|
Linux rupert-ThinkPad-T420 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
Ubuntu 12.04 LTS
|
Project:
|
JRuby
|
Labels:
|
exception
awt
x11
|
Priority:
|
Minor
|
Reporter:
|
Robert Pankowecki
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email