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