-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
sparc
-
generic
-
Verified
In the following code snippet, the line
defaults.getUIClass("ButtonUI", null)
returns NPE instead of returning null value:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Test {
public static void main(String[] args) {
UIDefaults defaults = new UIDefaults();
defaults.getUIClass("ButtonUI", null);
}
}
defaults.getUIClass("ButtonUI", null)
returns NPE instead of returning null value:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Test {
public static void main(String[] args) {
UIDefaults defaults = new UIDefaults();
defaults.getUIClass("ButtonUI", null);
}
}