6267105: UIDefaults.getUIError dumps error message to System.err and also throws Error
Reviewed-by: prr, ssadetsky
This commit is contained in:
parent
5116cbb2bd
commit
5abad61670
@ -756,9 +756,8 @@ public class UIDefaults extends Hashtable<Object,Object>
|
||||
* @see #getUI
|
||||
*/
|
||||
protected void getUIError(String msg) {
|
||||
System.err.println("UIDefaults.getUI() failed: " + msg);
|
||||
try {
|
||||
throw new Error();
|
||||
throw new Error(msg);
|
||||
}
|
||||
catch (Throwable e) {
|
||||
e.printStackTrace();
|
||||
|
Loading…
x
Reference in New Issue
Block a user