--- old/test/javax/swing/MultiUIDefaults/4300666/bug4300666.java 2013-06-18 14:06:53.786586629 +0400 +++ new/test/javax/swing/MultiUIDefaults/4300666/bug4300666.java 2013-06-18 14:06:53.522335696 +0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,18 +22,17 @@ */ /* @test - @bug 4300666 + @bug 4300666 7105119 @summary Printing UIDefaults throws NoSuchElementExcept @author Andrey Pikalev - @run applet bug4300666.html + @run main bug4300666 */ import javax.swing.*; +public class bug4300666 { -public class bug4300666 extends JApplet { - - public void init() { + public static void main (String[] s) { UIDefaults d = UIManager.getDefaults(); d.toString(); }