< prev index next >

test/com/sun/jdi/StringConvertTest.sh

Print this page
rev 16783 : 8176176: fix @modules in jdk_svc tests
Reviewed-by: duke


   8 # under the terms of the GNU General Public License version 2 only, as
   9 # published by the Free Software Foundation.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  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 #  @bug 4511950 4843082

  28 #  @summary 1. jdb's expression evaluation doesn't perform string conversion properly
  29 #           2. TTY: run on expression evaluation
  30 #  @author jim/suvasis mukherjee
  31 #
  32 #  @key intermittent
  33 #  @run shell StringConvertTest.sh
  34 
  35 #  Run this script to see the bug.  See comments at the end
  36 #  of the .java file for info on what the bug looks like.
  37 
  38 # These are variables that can be set to control execution
  39 
  40 #pkg=untitled7
  41 classname=StringConvertTest
  42 compileOptions=-g
  43 #java=java_g
  44 #mode=-Xcomp
  45 
  46 #jdbOptions=-dbgtrace
  47 createJavaFile()
  48 {
  49     cat <<EOF > $1.java.1
  50 
  51 class $classname {
  52     String me;




   8 # under the terms of the GNU General Public License version 2 only, as
   9 # published by the Free Software Foundation.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  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 # @bug 4511950 4843082
  28 # @key intermittent
  29 # @summary 1. jdb's expression evaluation doesn't perform string conversion properly
  30 #          2. TTY: run on expression evaluation
  31 # @author jim/suvasis mukherjee
  32 #

  33 # @run shell StringConvertTest.sh
  34 
  35 # Run this script to see the bug.  See comments at the end
  36 # of the .java file for info on what the bug looks like.
  37 
  38 # These are variables that can be set to control execution
  39 
  40 #pkg=untitled7
  41 classname=StringConvertTest
  42 compileOptions=-g
  43 #java=java_g
  44 #mode=-Xcomp
  45 
  46 #jdbOptions=-dbgtrace
  47 createJavaFile()
  48 {
  49     cat <<EOF > $1.java.1
  50 
  51 class $classname {
  52     String me;


< prev index next >