test/runtime/6626217/Test6626217.sh

Print this page
rev 6211 : [mq]: include6626217


   5 #  This code is free software; you can redistribute it and/or modify it
   6 #  under the terms of the GNU General Public License version 2 only, as
   7 #  published by the Free Software Foundation.
   8 # 
   9 #  This code is distributed in the hope that it will be useful, but WITHOUT
  10 #  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 #  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 #  version 2 for more details (a copy is included in the LICENSE file that
  13 #  accompanied this code).
  14 # 
  15 #  You should have received a copy of the GNU General Public License version
  16 #  2 along with this work; if not, write to the Free Software Foundation,
  17 #  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 # 
  19 #  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 #  or visit www.oracle.com if you need additional information or have any
  21 #  questions.
  22 # 
  23 
  24 
  25 # @ignore 8028733
  26 # @test @(#)Test6626217.sh
  27 # @bug 6626217
  28 # @summary Loader-constraint table allows arrays instead of only the base-classes
  29 # @run shell Test6626217.sh
  30 #
  31 ## some tests require path to find test source dir
  32 if [ "${TESTSRC}" = "" ]
  33 then
  34   TESTSRC=${PWD}
  35   echo "TESTSRC not set.  Using "${TESTSRC}" as default"
  36 fi
  37 echo "TESTSRC=${TESTSRC}"
  38 ## Adding common setup Variables for running shell tests.
  39 . ${TESTSRC}/../../test_env.sh
  40 
  41 JAVA=${TESTJAVA}${FS}bin${FS}java
  42 JAVAC=${COMPILEJAVA}${FS}bin${FS}javac
  43 
  44 # Current directory is scratch directory, copy all the test source there
  45 # (for the subsequent moves to work).




   5 #  This code is free software; you can redistribute it and/or modify it
   6 #  under the terms of the GNU General Public License version 2 only, as
   7 #  published by the Free Software Foundation.
   8 # 
   9 #  This code is distributed in the hope that it will be useful, but WITHOUT
  10 #  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 #  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 #  version 2 for more details (a copy is included in the LICENSE file that
  13 #  accompanied this code).
  14 # 
  15 #  You should have received a copy of the GNU General Public License version
  16 #  2 along with this work; if not, write to the Free Software Foundation,
  17 #  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 # 
  19 #  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 #  or visit www.oracle.com if you need additional information or have any
  21 #  questions.
  22 # 
  23 
  24 

  25 # @test @(#)Test6626217.sh
  26 # @bug 6626217
  27 # @summary Loader-constraint table allows arrays instead of only the base-classes
  28 # @run shell Test6626217.sh
  29 #
  30 ## some tests require path to find test source dir
  31 if [ "${TESTSRC}" = "" ]
  32 then
  33   TESTSRC=${PWD}
  34   echo "TESTSRC not set.  Using "${TESTSRC}" as default"
  35 fi
  36 echo "TESTSRC=${TESTSRC}"
  37 ## Adding common setup Variables for running shell tests.
  38 . ${TESTSRC}/../../test_env.sh
  39 
  40 JAVA=${TESTJAVA}${FS}bin${FS}java
  41 JAVAC=${COMPILEJAVA}${FS}bin${FS}javac
  42 
  43 # Current directory is scratch directory, copy all the test source there
  44 # (for the subsequent moves to work).