harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Luht (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2549) javax.swing.DebugGraphics() throws NPE
Date Fri, 08 Dec 2006 14:14:21 GMT
javax.swing.DebugGraphics() throws NPE

                 Key: HARMONY-2549
                 URL: http://issues.apache.org/jira/browse/HARMONY-2549
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Anton Luht
            Priority: Minor

javax.swing.DebugGraphics() throws NPE but spec says:

Constructs a new debug graphics context that supports slowed down drawing. 

Test case to reproduce:
import javax.swing.*;
public class Test 
    public static void main(String args[]) { 
        new DebugGraphics();

Output in RI:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)


C:\temp\tests>anced\drlvm\trunk\build\deploy\jdk\jre\bin\java -showversion Test
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
n or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r483966, (Dec  8 2006), Windows/ia32/msvc 1310, debug build
Uncaught exception in main:
        at javax.swing.DebugGraphics.<init>(DebugGraphics.java:170)
        at javax.swing.DebugGraphics.<init>(DebugGraphics.java)
        at Test.main(Test.java:5)

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


View raw message