mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
Adjust tests for JDK 18-ea build
This commit is contained in:
1 parent
e7aa1fdac5
commit
9752eced1f
1 file changed
+1
-1
+1
-1
@@ -15,7 +15,7 @@ public class BasicProfileLocationTest {
|
|||||||
String javaVersion = System.getProperty("java.version");
|
String javaVersion = System.getProperty("java.version");
|
||||||
assertThat(loc.obtain()).isTrue();
|
assertThat(loc.obtain()).isTrue();
|
||||||
if (javaVersion.startsWith("1.8")) {
|
if (javaVersion.startsWith("1.8")) {
|
||||||
assertThat(loc.fullLocation()).endsWith("jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method:12)");
|
assertThat(loc.fullLocation()).endsWith("invoke0(Native Method:12)");
|
||||||
assertThat(loc.location()).isEqualTo("sun.reflect.NativeMethodAccessorImpl.invoke0");
|
assertThat(loc.location()).isEqualTo("sun.reflect.NativeMethodAccessorImpl.invoke0");
|
||||||
assertThat(loc.label()).isEqualTo("NativeMethodAccessorImpl.invoke0");
|
assertThat(loc.label()).isEqualTo("NativeMethodAccessorImpl.invoke0");
|
||||||
} else if (javaVersion.startsWith("18")){
|
} else if (javaVersion.startsWith("18")){
|
||||||
|
|||||||
Reference in new issue
Block a user