harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2853) [classlib][swing] j.s.plaf.basic.BasicScrollBarUI.configureScrollBarColors() doesn't throw NPE
Date Fri, 22 Dec 2006 13:40:24 GMT
[classlib][swing] j.s.plaf.basic.BasicScrollBarUI.configureScrollBarColors() doesn't throw

                 Key: HARMONY-2853
                 URL: http://issues.apache.org/jira/browse/HARMONY-2853
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov
            Priority: Minor

======= Code to Reproduce =======
import javax.swing.plaf.basic.BasicScrollBarUI;

public class Test {
    private static class TestBasicScrollBarUI extends BasicScrollBarUI {
        public void configureScrollBarColors() {

    public static void main(String[] args) {
        TestBasicScrollBarUI sbr = new TestBasicScrollBarUI();
======= end of code =======

Harmony works silently, but RI throws NPE:
	at javax.swing.LookAndFeel.installColors(LookAndFeel.java:56)
	at javax.swing.plaf.basic.BasicScrollBarUI.configureScrollBarColors(BasicScrollBarUI.java:113)
	at Test$TestBasicScrollBarUI.configureScrollBarColors(Test.java:7)
	at Test.main(Test.java:13)

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