diff --git a/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java b/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java index ba69bd614aa058083e082e6d69c8e89ad69a3e63..52f912b6ecb118ad81d3c84fcf6cb4db51a771f1 100644 --- a/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java +++ b/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2014, 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 @@ -26,6 +26,7 @@ * @bug 8005166 * @summary Add support for static interface methods * Smoke test for static interface method hiding + * @run main/timeout=600 InterfaceMethodHidingTest */ import com.sun.source.util.JavacTask; diff --git a/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java b/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java index 06db21564f63fd8d43dc3a2729dade367f94d242..8e50868f8a05eba9b127f2eb18bd9bb1876fce7f 100644 --- a/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java +++ b/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2014, 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 @@ -30,7 +30,7 @@ * @author Maurizio Cimadamore * @library ../lib * @build JavacTestingAbstractThreadedTest - * @run main/othervm FunctionalInterfaceConversionTest + * @run main/timeout=600/othervm FunctionalInterfaceConversionTest */ // use /othervm to avoid jtreg timeout issues (CODETOOLS-7900047)