8185803: JdbExprTest.sh fails in JDK10-hs nightly due to "Name unknown: java.lang.Long.MAX_VALUE "
Initialize java.lang.Long before referencing it Reviewed-by: dholmes, dcubed
This commit is contained in:
parent
768632f24b
commit
00b1a87625
@ -774,7 +774,7 @@ tools/jimage/JImageListTest.java 8198405 windows-
|
|||||||
|
|
||||||
com/sun/jdi/RedefineImplementor.sh 8004127 generic-all
|
com/sun/jdi/RedefineImplementor.sh 8004127 generic-all
|
||||||
|
|
||||||
com/sun/jdi/JdbExprTest.sh 8185803 generic-all
|
com/sun/jdi/JdbExprTest.sh 8203393 solaris-all
|
||||||
|
|
||||||
com/sun/jdi/JdbMethodExitTest.sh 8171483 generic-all
|
com/sun/jdi/JdbMethodExitTest.sh 8171483 generic-all
|
||||||
|
|
||||||
@ -830,4 +830,4 @@ com/sun/jdi/RedefineCrossEvent.java 8194308 gener
|
|||||||
jdk/jfr/event/io/TestInstrumentation.java 8202142 generic-all
|
jdk/jfr/event/io/TestInstrumentation.java 8202142 generic-all
|
||||||
jdk/jfr/event/sampling/TestNative.java 8202142 generic-all
|
jdk/jfr/event/sampling/TestNative.java 8202142 generic-all
|
||||||
jdk/jfr/event/os/TestSystemProcess.java 8202835 linux-all
|
jdk/jfr/event/os/TestSystemProcess.java 8202835 linux-all
|
||||||
jdk/jfr/event/runtime/TestBiasedLockRevocationEvents.java 8203237 generic-all
|
jdk/jfr/event/runtime/TestBiasedLockRevocationEvents.java 8203237 generic-all
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -26,7 +26,6 @@
|
|||||||
# @test
|
# @test
|
||||||
# @bug 4660158
|
# @bug 4660158
|
||||||
# @author Staffan Larsen
|
# @author Staffan Larsen
|
||||||
# @requires os.family != "windows"
|
|
||||||
# @key intermittent
|
# @key intermittent
|
||||||
# @run shell JdbExprTest.sh
|
# @run shell JdbExprTest.sh
|
||||||
|
|
||||||
@ -47,6 +46,7 @@ import java.net.URL;
|
|||||||
|
|
||||||
class $classname {
|
class $classname {
|
||||||
|
|
||||||
|
static Long lMax = new Long(java.lang.Long.MAX_VALUE); // force initialization of Long class
|
||||||
static long aLong;
|
static long aLong;
|
||||||
static int anInt;
|
static int anInt;
|
||||||
static boolean aBoolean;
|
static boolean aBoolean;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user