< prev index next >

test/sun/misc/URLClassPath/ClassnameCharTest.sh

Print this page
rev 8219 : 8024900: PPC64: Enable new build on AIX (jdk part)
8024854: PPC64: Basic changes and files to build the class library on AIX
Reviewed-by: alanb, prr, sla, chegar, michaelm, mullan, art, erikj
Contributed-by: luchsh@linux.vnet.ibm.com, spoole@linux.vnet.ibm.com, thomas.stuefe@sap.com


  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # @test
  27 # @author Yingxian Wang
  28 # @bug 4957669 5017871
  29 # @library ../../../sun/net/www/httptest/
  30 # @build HttpCallback HttpServer ClosedChannelList HttpTransaction
  31 # @run shell/timeout=300 ClassnameCharTest.sh
  32 # @summary ; cannot load class names containing some JSR 202 characters;
  33 #          plugin does not escape unicode character in http request
  34 #
  35 # set platform-dependent variables
  36 
  37 OS=`uname -s`
  38 case "$OS" in
  39   SunOS | Linux | Darwin )
  40     PS=":"
  41     FS="/"
  42     ;;
  43   Windows* | CYGWIN* )
  44     PS=";"
  45     FS="\\"
  46     ;;
  47   * )
  48     echo "Unrecognized system!"
  49     exit 1;
  50     ;;
  51 esac
  52 
  53 cp ${TESTSRC}${FS}testclasses.jar ${TESTCLASSES}
  54 cd ${TESTCLASSES}
  55 ${TESTJAVA}${FS}bin${FS}jar xvf testclasses.jar "fo o.class"
  56 ${TESTJAVA}${FS}bin${FS}javac -d ${TESTCLASSES} ${TESTSRC}${FS}ClassnameCharTest.java
  57 
  58 ${TESTJAVA}${FS}bin${FS}java -classpath "${TESTCLASSES}${PS}${TESTCLASSES}${FS}sun${FS}misc${FS}URLClassPath" ClassnameCharTest
  59 


  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # @test
  27 # @author Yingxian Wang
  28 # @bug 4957669 5017871
  29 # @library ../../../sun/net/www/httptest/
  30 # @build HttpCallback HttpServer ClosedChannelList HttpTransaction
  31 # @run shell/timeout=300 ClassnameCharTest.sh
  32 # @summary ; cannot load class names containing some JSR 202 characters;
  33 #          plugin does not escape unicode character in http request
  34 #
  35 # set platform-dependent variables
  36 
  37 OS=`uname -s`
  38 case "$OS" in
  39   SunOS | Linux | Darwin | AIX )
  40     PS=":"
  41     FS="/"
  42     ;;
  43   Windows* | CYGWIN* )
  44     PS=";"
  45     FS="\\"
  46     ;;
  47   * )
  48     echo "Unrecognized system!"
  49     exit 1;
  50     ;;
  51 esac
  52 
  53 cp ${TESTSRC}${FS}testclasses.jar ${TESTCLASSES}
  54 cd ${TESTCLASSES}
  55 ${TESTJAVA}${FS}bin${FS}jar xvf testclasses.jar "fo o.class"
  56 ${TESTJAVA}${FS}bin${FS}javac -d ${TESTCLASSES} ${TESTSRC}${FS}ClassnameCharTest.java
  57 
  58 ${TESTJAVA}${FS}bin${FS}java -classpath "${TESTCLASSES}${PS}${TESTCLASSES}${FS}sun${FS}misc${FS}URLClassPath" ClassnameCharTest
  59 
< prev index next >