Mercurial > hg > release > icedtea7-forest-2.5 > jdk
changeset 5255:f7e9f377bb5e
7162043: Add headless mode tests to problem list [macosx]
Reviewed-by: alanb
author | michaelm |
---|---|
date | Fri, 27 Apr 2012 15:27:51 +0100 |
parents | 9fb41ec54d94 |
children | 1e3829d2447c |
files | test/ProblemList.txt test/java/io/File/isDirectory/Applet.java |
diffstat | 2 files changed, 55 insertions(+), 48 deletions(-) [+] |
line wrap: on
line diff
--- a/test/ProblemList.txt Fri Apr 27 18:39:37 2012 +0400 +++ b/test/ProblemList.txt Fri Apr 27 15:27:51 2012 +0100 @@ -304,6 +304,9 @@ # 6988950 demo/jvmti/compiledMethodLoad/CompiledMethodLoadTest.java generic-all +# 7162111 +demo/jvmti/mtrace/TraceJFrame.java macosx-all + # Need to be marked othervm, or changed to be samevm safe com/sun/jndi/ldap/ReadTimeoutTest.java generic-all com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java generic-all @@ -371,6 +374,26 @@ # Only print test left, excluding just because all print tests have been javax/print/attribute/MediaMappingsTest.java generic-all +# 7162111 +javax/script/CauseExceptionTest.java macosx-all +javax/script/GetInterfaceTest.java macosx-all +javax/script/JavaScriptScopeTest.java macosx-all +javax/script/NullUndefinedVarTest.java macosx-all +javax/script/PluggableContextTest.java macosx-all +javax/script/ProviderTest.sh macosx-all +javax/script/RhinoExceptionTest.java macosx-all +javax/script/StringWriterPrintTest.java macosx-all +javax/script/Test1.java macosx-all +javax/script/Test2.java macosx-all +javax/script/Test3.java macosx-all +javax/script/Test4.java macosx-all +javax/script/Test5.java macosx-all +javax/script/Test6.java macosx-all +javax/script/Test7.java macosx-all +javax/script/Test8.java macosx-all +javax/script/UnescapedBracketRegExTest.java macosx-all +javax/script/VersionTest.java macosx-all + ############################################################################ # jdk_net @@ -389,6 +412,23 @@ sun/net/InetAddress/nameservice/simple/CacheTest.java generic-all sun/net/InetAddress/nameservice/simple/DefaultCaching.java generic-all +# 7161936 +sun/net/www/http/HttpClient/RetryPost.sh macosx-all +sun/net/www/protocol/http/B5017051.java macosx-all +sun/net/www/protocol/http/B6369510.java macosx-all +sun/net/www/protocol/http/StreamingOutputStream.java macosx-all +sun/net/www/protocol/http/UserAuth.java macosx-all +sun/net/www/protocol/http/UserCookie.java macosx-all + +# 7162118 +java/net/CookieHandler/CookieManagerTest.java macosx-all + +# 7162123 +test/java/net/InetSocketAddress/B6469803.java macosx-all + +# JPRT needs to set 127.0.0.1 in proxy bypass list +java/net/URLClassLoader/closetest/CloseTest.java macosx-all + ############################################################################ # jdk_io @@ -487,6 +527,9 @@ java/rmi/server/RMISocketFactory/useSocketFactory/registry/UseCustomSocketFactory.java generic-all java/rmi/server/UnicastRemoteObject/unexportObject/UnexportLeak.java generic-all +# 7142596 +java/rmi/transport/httpSocket/HttpSocketTest.java macosx-all + ############################################################################ # jdk_security @@ -701,6 +744,14 @@ # 7132203 sun/jvmstat/monitor/MonitoredVm/CR6672135.java generic-all +# 7162111 +sun/tools/jrunscript/jrunscript-DTest.sh macosx-all +sun/tools/jrunscript/jrunscript-argsTest.sh macosx-all +sun/tools/jrunscript/jrunscript-cpTest.sh macosx-all +sun/tools/jrunscript/jrunscript-eTest.sh macosx-all +sun/tools/jrunscript/jrunscript-fTest.sh macosx-all +sun/tools/jrunscript/jrunscriptTest.sh macosx-all + ############################################################################ # jdk_util @@ -732,5 +783,9 @@ # Problems on windows, jmap.exe hangs? (these run jmap), fails on Solaris 10 x86 java/util/concurrent/locks/Lock/TimedAcquireLeak.java generic-all +# 7162111 +java/util/ResourceBundle/Control/Bug6530694.java macosx-all + ############################################################################ +
--- a/test/java/io/File/isDirectory/Applet.java Fri Apr 27 18:39:37 2012 +0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ -/* - * Copyright (c) 1998, 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 - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. - * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ - -/* @test - @bug 4054511 - @summary Check that applets don't get a security exception when invoking - the File.isDirectory method on a non-existent directory - @author Mark Reinhold - @run applet Applet.html - */ - -import java.io.*; - - -public class Applet extends java.applet.Applet { - - void go(String fn) { - File f = new File(fn); - System.err.println(fn + ": " + f.isDirectory()); - } - - public void init() { - String nxdir = "non_EX_is_TENT_dir_EC_tory"; - go(nxdir); - go(nxdir + File.separator + "bar" + File.separator + "baz"); - } - -}