@@ -28,10 +28,11 @@ /** * @test * @bug 8026404 * @summary checks that calling getLogger() from a Thread whose ThreadGroup is * a child of the main root group doesn't throw an exception. + * @modules java.desktop/sun.awt * @build TestMainAppContext * @run main/othervm TestMainAppContext * @author danielfuchs */ public class TestMainAppContext {