# HG changeset patch # User kizune # Date 1396371643 25200 # Node ID e9b2766ef89c7c06775ced890471dfc3baba338e # Parent f7ffcfe938f2134040bc56bef941400aaa3d7043 8031425: Two langtools/javac tests fail by timeout on Windows Reviewed-by: jjg, vromero diff -r f7ffcfe938f2 -r e9b2766ef89c langtools/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java --- a/langtools/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Mon Mar 31 21:27:25 2014 +0200 +++ b/langtools/test/tools/javac/defaultMethods/static/hiding/InterfaceMethodHidingTest.java Tue Apr 01 10:00:43 2014 -0700 @@ -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 -r f7ffcfe938f2 -r e9b2766ef89c langtools/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java --- a/langtools/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java Mon Mar 31 21:27:25 2014 +0200 +++ b/langtools/test/tools/javac/lambda/FunctionalInterfaceConversionTest.java Tue Apr 01 10:00:43 2014 -0700 @@ -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)