Skip to content

Commit 33f9be8

Browse files
Ramkumar SunderbabuDavid Holmes
Ramkumar Sunderbabu
authored and
David Holmes
committed
8347083: Incomplete logging in nsk/jvmti/ResourceExhausted/resexhausted00* tests
Reviewed-by: dholmes, sspitsyn, lmesnik
1 parent 8eddf67 commit 33f9be8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/hotspot/jtreg/vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -62,7 +62,7 @@ public static int run(String args[], PrintStream out) {
6262
makeThread();
6363
}
6464

65-
System.out.println("Can't reproduce OOME due to a limit on iterations/execution time. Test was useless."
65+
System.out.println("Test resexhausted001: Can't reproduce OOME due to a limit on iterations/execution time. Test was useless."
6666
+ " threadCount=" + threadCount.get());
6767
throw new SkippedException("Test did not get an OutOfMemory error");
6868

test/hotspot/jtreg/vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -55,7 +55,7 @@ public static int run(String args[], PrintStream out) {
5555
++count;
5656
}
5757

58-
System.out.println("Can't reproduce OOME due to a limit on iterations/execution time. Test was useless.");
58+
System.out.println("Test resexhausted002: Can't reproduce OOME due to a limit on iterations/execution time. Test was useless.");
5959
throw new SkippedException("Test did not get an OutOfMemory error");
6060

6161
} catch (OutOfMemoryError e) {

test/hotspot/jtreg/vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted003.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2007, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -115,7 +115,7 @@ public static int run(String args[], PrintStream out) {
115115
++count;
116116
}
117117

118-
System.out.println("Can't reproduce OOME due to a limit on iterations/execution time. Test was useless.");
118+
System.out.println("Test resexhausted003: Can't reproduce OOME due to a limit on iterations/execution time. Test was useless.");
119119
throw new SkippedException("Test did not get an OutOfMemory error");
120120

121121
} catch (OutOfMemoryError e) {

0 commit comments

Comments
 (0)