Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 99663 invoked from network); 30 Jun 2009 20:41:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Jun 2009 20:41:01 -0000 Received: (qmail 10571 invoked by uid 500); 30 Jun 2009 20:41:12 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 10548 invoked by uid 500); 30 Jun 2009 20:41:12 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 10539 invoked by uid 99); 30 Jun 2009 20:41:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 20:41:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jun 2009 20:41:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2E97E234C004 for ; Tue, 30 Jun 2009 13:40:47 -0700 (PDT) Message-ID: <1731257271.1246394447176.JavaMail.jira@brutus> Date: Tue, 30 Jun 2009 13:40:47 -0700 (PDT) From: "Tim Ellison (JIRA)" To: commits@harmony.apache.org Subject: [jira] Closed: (HARMONY-5043) [classlib][awt] Graphics2D.getDeviceConfiguration() throws RuntimeException In-Reply-To: <4346098.1193755430959.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Ellison closed HARMONY-5043. -------------------------------- Yep, works for me on Windows at Harmony M9. > [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.