harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5043) [classlib][awt] Graphics2D.getDeviceConfiguration() throws RuntimeException
Date Fri, 02 Nov 2007 16:56:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Zakharov resolved HARMONY-5043.
--------------------------------------

    Resolution: Fixed

Thanks guys, the patch was applied at the revision 591398. Dmitriy, could you please verify
that your issue is not reproducible anymore? 

> [classlib][awt] Graphics2D.getDeviceConfiguration() throws RuntimeException
> ---------------------------------------------------------------------------
>
>                 Key: HARMONY-5043
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5043
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windows
>            Reporter: Dmitriy Matveev
>            Assignee: Alexei Zakharov
>         Attachments: H-5043.patch
>
>
> Graphics2D.getDeviceConfiguration() throws exception:
> java.lang.RuntimeException: Unknown Graphics Device Pixel Format
> Reproducer:
> import java.awt.Frame;
> import java.awt.Graphics;
> import java.awt.Graphics2D;
> import java.awt.event.WindowAdapter;
> import java.awt.event.WindowEvent;
> public class Test {
>     public static void main(String[] args) {
>         Frame f = new Frame() {
>             public void paint(Graphics g) {
>                 Graphics2D g2d = (Graphics2D) g;
>                 g2d.getDeviceConfiguration();
>             }
>         };
>         f.setBounds(0, 0, 800, 600);
>         f.setVisible(true);
>         f.addWindowListener(new WindowAdapter() {
>             public void windowClosing(WindowEvent ev) {
>                 System.exit(0);
>             }
>         });
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message