./test/java/awt/appletviewer/IOExceptionIfEncodedURLTest/IOExceptionIfEncodedURLTest.sh
Print this page
rev 5948 : Fix for JDK-7072120
*** 1,7 ****
#
! # Copyright (c) 2008, 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. Oracle designates this
--- 1,7 ----
#
! # Copyright (c) 2008, 2012, 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. Oracle designates this
*** 97,122 ****
# Checking for proper OS
OS=`uname -s`
case "$OS" in
SunOS )
VAR="One value for Sun"
! DEFAULT_JDK=/usr/local/java/jdk1.2.1/solaris
FILESEP="/"
;;
Linux )
VAR="A different value for Linux"
! DEFAULT_JDK=/usr/local/java/jdk1.4/linux-i386
FILESEP="/"
;;
! Windows_95 | Windows_98 | Windows_NT | Windows_ME | CYGWIN_NT-5.1)
VAR="A different value for Win32"
! DEFAULT_JDK=/usr/local/java/jdk1.2.1/win32
FILESEP="\\"
;;
# catch all other OSs
* )
echo "Unrecognized system! $OS"
fail "Unrecognized system! $OS"
;;
--- 97,144 ----
# Checking for proper OS
OS=`uname -s`
case "$OS" in
SunOS )
VAR="One value for Sun"
! DEFAULT_JDK=/
FILESEP="/"
+ PATHSEP=":"
+ TMP="/tmp"
;;
Linux )
VAR="A different value for Linux"
! DEFAULT_JDK=/
FILESEP="/"
+ PATHSEP=":"
+ TMP="/tmp"
;;
! Darwin )
! VAR="A different value for MacOSX"
! DEFAULT_JDK=/usr
! FILESEP="/"
! PATHSEP=":"
! TMP="/tmp"
! ;;
!
! Windows* )
VAR="A different value for Win32"
! DEFAULT_JDK="C:/Program Files/Java/jdk1.8.0"
FILESEP="\\"
+ PATHSEP=";"
+ TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
;;
+ CYGWIN* )
+ VAR="A different value for Cygwin"
+ DEFAULT_JDK="/cygdrive/c/Program\ Files/Java/jdk1.8.0"
+ FILESEP="/"
+ PATHSEP=";"
+ TMP=`cd "${SystemRoot}/Temp"; echo ${PWD}`
+ ;;
+
# catch all other OSs
* )
echo "Unrecognized system! $OS"
fail "Unrecognized system! $OS"
;;