Skip to content

Commit 8cfebc4

Browse files
committed
8350571: Remove mention of Tonga test suite from JMX tests
Reviewed-by: cjplummer, lmesnik, sspitsyn
1 parent c413549 commit 8cfebc4

File tree

5 files changed

+7
-27
lines changed

5 files changed

+7
-27
lines changed

test/jdk/javax/management/MBeanServer/ExceptionFactory.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 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
@@ -67,12 +67,8 @@
6767
import javax.management.remote.JMXServerErrorException;
6868

6969
/**
70-
* |----- Original Description Coming From Tonga Original Source Code -------|
71-
* | |
72-
* | That class creates an ArrayList and fill it with an instance of each of |
73-
* | the Exception class of the JMX API. |
74-
* | It's dedicated to use by ExceptionTest. |
75-
* |-------------------------------------------------------------------------|
70+
* This class creates an ArrayList and fills it with an instance of each
71+
* Exception class in the JMX API. Used by ExceptionTest.
7672
*/
7773
public class ExceptionFactory {
7874

test/jdk/javax/management/MBeanServer/ExceptionTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 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
@@ -188,7 +188,6 @@ private boolean matches(Exception ex, Exception refex) {
188188
return true;
189189
}
190190

191-
// Utility inner class coming from JMX Tonga test suite.
192191
// Also used by ExceptionFactory.
193192
static class Utils {
194193

@@ -222,9 +221,6 @@ static void parseDebugProperties() {
222221
}
223222

224223
/**
225-
* Reproduces the original parsing and collection of test parameters
226-
* from the DTonga JMX test suite.
227-
*
228224
* Collects passed args and returns them in a map(argname, value) structure,
229225
* which will be then propagated as necessary to various called methods.
230226
*/

test/jdk/javax/management/mxbean/Utils.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 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
@@ -27,7 +27,6 @@
2727
import java.lang.reflect.Method;
2828
import javax.management.remote.JMXConnectorServerMBean;
2929

30-
// utility class for MXBean* tests coming from JMX Tonga test suite
3130
class Utils {
3231

3332
// DEBUG is printed depending on the DEBUG and DEBUG_LEVEL JAVA property
@@ -60,9 +59,6 @@ static void parseDebugProperties() {
6059
}
6160

6261
/**
63-
* Reproduces the original parsing and collection of test parameters
64-
* from the DTonga JMX test suite.
65-
*
6662
* Collects passed args and returns them in a map(argname, value) structure,
6763
* which will be then propagated as necessary to various called methods.
6864
*/

test/jdk/javax/management/query/SupportedQueryTypesTest.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2006, 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
@@ -287,7 +287,6 @@ private int checkSet(Set<?> remoteSet, Set<?> referenceSet) {
287287
}
288288
}
289289

290-
// Utility inner class coming from JMX Tonga test suite.
291290
private static class Utils {
292291

293292
// DEBUG is printed depending on the DEBUG and DEBUG_LEVEL JAVA property
@@ -320,9 +319,6 @@ static void parseDebugProperties() {
320319
}
321320

322321
/**
323-
* Reproduces the original parsing and collection of test parameters
324-
* from the DTonga JMX test suite.
325-
*
326322
* Collects passed args and returns them in a map(argname, value) structure,
327323
* which will be then propagated as necessary to various called methods.
328324
*/

test/jdk/javax/management/security/Utils.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2005, 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
@@ -28,7 +28,6 @@
2828
import java.lang.reflect.Method;
2929
import javax.management.remote.JMXConnectorServerMBean;
3030

31-
// utility class for MXBean* tests coming from JMX Tonga test suite
3231
class Utils {
3332

3433
private static final String SERVER_SIDE_NAME = "-server";
@@ -64,9 +63,6 @@ static void parseDebugProperties() {
6463
}
6564

6665
/**
67-
* Reproduces the original parsing and collection of test parameters
68-
* from the DTonga JMX test suite.
69-
*
7066
* Collects passed args and returns them in a map(argname, value) structure,
7167
* which will be then propagated as necessary to various called methods.
7268
*/

0 commit comments

Comments
 (0)