You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Denis Kishenko (JIRA)" <ji...@apache.org> on 2006/12/06 14:49:21 UTC
[jira] Created: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
[classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
-------------------------------------------------------------------------------------------
Key: HARMONY-2497
URL: http://issues.apache.org/jira/browse/HARMONY-2497
Project: Harmony
Issue Type: Bug
Components: Classlib
Reporter: Denis Kishenko
Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
=============== Test ============
import junit.framework.TestCase;
import java.awt.*;
public class test extends TestCase {
public void test1 () {
new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
}
}
Output on Sun 1.5
=================
Time: 0,016
OK (1 test)
Output on Harmony:
==================
.java.lang.NullPointerException
at test.test1(test.java:12)
at java.lang.reflect.VMReflection.invokeMethod()
at java.lang.reflect.Method.invoke()
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:115)
at junit.textui.TestRunner.start(TestRunner.java:172)
Time: 0.063
--
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
[jira] Updated: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
Posted by "Alexander D Shipilov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2497?page=all ]
Alexander D Shipilov updated HARMONY-2497:
------------------------------------------
Attachment: GridBagConstraints2497Test.patch
Patch with regression test
> [classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-2497
> URL: http://issues.apache.org/jira/browse/HARMONY-2497
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Attachments: GridBagConstraints2497.patch, GridBagConstraints2497Test.patch
>
>
> Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
> =============== Test ============
> import junit.framework.TestCase;
> import java.awt.*;
> public class test extends TestCase {
> public void test1 () {
> new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
> }
> }
> Output on Sun 1.5
> =================
> Time: 0,016
> OK (1 test)
> Output on Harmony:
> ==================
> .java.lang.NullPointerException
> at test.test1(test.java:12)
> at java.lang.reflect.VMReflection.invokeMethod()
> at java.lang.reflect.Method.invoke()
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.textui.TestRunner.doRun(TestRunner.java:115)
> at junit.textui.TestRunner.start(TestRunner.java:172)
> Time: 0.063
--
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
[jira] Resolved: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess resolved HARMONY-2497.
-----------------------------------
Resolution: Fixed
Assignee: Mark Hindess
Applied in r495865. Please confirm that they have been applied as expected.
> [classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-2497
> URL: https://issues.apache.org/jira/browse/HARMONY-2497
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Assigned To: Mark Hindess
> Attachments: GridBagConstraints2497.patch, GridBagConstraints2497Test.patch
>
>
> Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
> =============== Test ============
> import junit.framework.TestCase;
> import java.awt.*;
> public class test extends TestCase {
> public void test1 () {
> new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
> }
> }
> Output on Sun 1.5
> =================
> Time: 0,016
> OK (1 test)
> Output on Harmony:
> ==================
> .java.lang.NullPointerException
> at test.test1(test.java:12)
> at java.lang.reflect.VMReflection.invokeMethod()
> at java.lang.reflect.Method.invoke()
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.textui.TestRunner.doRun(TestRunner.java:115)
> at junit.textui.TestRunner.start(TestRunner.java:172)
> Time: 0.063
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
Posted by "Alexander D Shipilov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2497?page=all ]
Alexander D Shipilov updated HARMONY-2497:
------------------------------------------
Attachment: GridBagConstraints2497.patch
Patch with fix
> [classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-2497
> URL: http://issues.apache.org/jira/browse/HARMONY-2497
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Attachments: GridBagConstraints2497.patch
>
>
> Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
> =============== Test ============
> import junit.framework.TestCase;
> import java.awt.*;
> public class test extends TestCase {
> public void test1 () {
> new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
> }
> }
> Output on Sun 1.5
> =================
> Time: 0,016
> OK (1 test)
> Output on Harmony:
> ==================
> .java.lang.NullPointerException
> at test.test1(test.java:12)
> at java.lang.reflect.VMReflection.invokeMethod()
> at java.lang.reflect.Method.invoke()
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.textui.TestRunner.doRun(TestRunner.java:115)
> at junit.textui.TestRunner.start(TestRunner.java:172)
> Time: 0.063
--
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
[jira] Closed: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
Posted by "Mark Hindess (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-2497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hindess closed HARMONY-2497.
---------------------------------
No response. Assuming it is okay.
> [classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-2497
> URL: https://issues.apache.org/jira/browse/HARMONY-2497
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Assignee: Mark Hindess
> Attachments: GridBagConstraints2497.patch, GridBagConstraints2497Test.patch
>
>
> Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
> =============== Test ============
> import junit.framework.TestCase;
> import java.awt.*;
> public class test extends TestCase {
> public void test1 () {
> new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
> }
> }
> Output on Sun 1.5
> =================
> Time: 0,016
> OK (1 test)
> Output on Harmony:
> ==================
> .java.lang.NullPointerException
> at test.test1(test.java:12)
> at java.lang.reflect.VMReflection.invokeMethod()
> at java.lang.reflect.Method.invoke()
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.textui.TestRunner.doRun(TestRunner.java:115)
> at junit.textui.TestRunner.start(TestRunner.java:172)
> Time: 0.063
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-2497) [classlib][awt]
GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-2497?page=all ]
Alexei Zakharov updated HARMONY-2497:
-------------------------------------
Patch Info: [Patch Available]
> [classlib][awt] GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not
> -------------------------------------------------------------------------------------------
>
> Key: HARMONY-2497
> URL: http://issues.apache.org/jira/browse/HARMONY-2497
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Denis Kishenko
> Attachments: GridBagConstraints2497.patch, GridBagConstraints2497Test.patch
>
>
> Trere is no mention of any exception in the specificarion. java.awt.GridBagConstraints(,,,,,,,,null,,) throws unspecified NPE while RI does not.
> =============== Test ============
> import junit.framework.TestCase;
> import java.awt.*;
> public class test extends TestCase {
> public void test1 () {
> new GridBagConstraints(1,1,1,1,7.9,7.9,1,1,null,1,1);
> }
> }
> Output on Sun 1.5
> =================
> Time: 0,016
> OK (1 test)
> Output on Harmony:
> ==================
> .java.lang.NullPointerException
> at test.test1(test.java:12)
> at java.lang.reflect.VMReflection.invokeMethod()
> at java.lang.reflect.Method.invoke()
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.textui.TestRunner.doRun(TestRunner.java:115)
> at junit.textui.TestRunner.start(TestRunner.java:172)
> Time: 0.063
--
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