Skip to content

Commit

Permalink
jck23 api/javax_management no longer requires jmxResourcePathValue set (
Browse files Browse the repository at this point in the history
#5592)

Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard authored Sep 12, 2024
1 parent 2e77664 commit 6c852b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jck/jtrunner/JavatestUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@ private static boolean generateJTB() throws Exception {
if ( tests.startsWith("vm/jvmti") || tests.equals("vm") ) {
fileContent += "set jck.env.runtime.testExecute.jvmtiLivePhase Yes;\n";
}
if ( tests.contains("api/javax_management") || tests.equals("api") ) {

if ( jckVersionInt < 23 && (tests.contains("api/javax_management") || tests.equals("api")) ) {
fileContent += "set jck.env.runtime.testExecute.jmxResourcePathValue \"" + nativesLoc + "\"" + ";\n";
}

Expand Down

0 comments on commit 6c852b7

Please sign in to comment.