You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2006/09/14 12:36:23 UTC
[jira] Commented: (HARMONY-1339) java.awt.Toolkit.getScreenInsets()
always returns null
[ http://issues.apache.org/jira/browse/HARMONY-1339?page=comments#action_12434640 ]
Mark Hindess commented on HARMONY-1339:
---------------------------------------
If I apply these patches and run the test (on Linux) I get the following test error:
java.lang.UnsatisfiedLinkError: org/apache/harmony/awt/nativebridge/linux
/X11.XmuLookupStandardColormap(JIJIJII)I at
org.apache.harmony.awt.gl.linux.XGraphicsConfiguration.obtainRGBColorMap
(XGraphicsConfiguration.java:73) at
org.apache.harmony.awt.gl.linux.XGraphicsConfiguration.<init>
(XGraphicsConfiguration.java:49) at
org.apache.harmony.awt.gl.linux.XGraphicsDevice.createConfigs
(XGraphicsDevice.java:140) at
org.apache.harmony.awt.gl.linux.XGraphicsDevice.getConfigs
(XGraphicsDevice.java:74) at
org.apache.harmony.awt.gl.linux.XGraphicsDevice.getDefaultConfiguration
(XGraphicsDevice.java:166) at java.awt.Window.getGraphicsConfiguration
(Window.java:1170) at java.awt.Window.<init>(Window.java:156) at
java.awt.Frame.<init>(Frame.java:14) at java.awt.Frame.<init>
(Frame.java:116) at java.awt.Frame.<init>(Frame.java:125) at
java.awt.ToolkitRTest.testGetScreenInsets(ToolkitRTest.java:29) at
java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:25)
If I revert and re-run the tests pass.
> java.awt.Toolkit.getScreenInsets() always returns null
> ------------------------------------------------------
>
> Key: HARMONY-1339
> URL: http://issues.apache.org/jira/browse/HARMONY-1339
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Environment: Windows/x86
> Reporter: Dmitry A. Durnev
> Assigned To: Mark Hindess
> Priority: Minor
> Attachments: 1339-Toolkit.patch, 1339-Toolkit_tests.patch
>
>
> Run the following test:
> public class Test {
> public static void main(String[] args) {
> System.out.println(Toolkit.getDefaultToolkit().
> getScreenInsets(new Frame().getGraphicsConfiguration()));
> }
> }
> On Harmony null is printed, while RI returns java.awt.Insets instance.
> This issue breaks some applications.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira