Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 91418 invoked from network); 30 Oct 2007 14:44:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2007 14:44:14 -0000 Received: (qmail 13436 invoked by uid 500); 30 Oct 2007 14:44:02 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 13413 invoked by uid 500); 30 Oct 2007 14:44:01 -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 13306 invoked by uid 99); 30 Oct 2007 14:44:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 07:44:01 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Oct 2007 14:44:24 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EAD0571422B for ; Tue, 30 Oct 2007 07:43:50 -0700 (PDT) Message-ID: <4346098.1193755430959.JavaMail.jira@brutus> Date: Tue, 30 Oct 2007 07:43:50 -0700 (PDT) From: "Dmitriy Matveev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-5043) [classlib][awt] Graphics2D.getDeviceConfiguration() throws RuntimeException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [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 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.