Stop referring to JDK 1.5 plus polishing

This commit is contained in:
Sam Brannen
2024-03-14 16:00:51 +01:00
parent 8e2134c6a7
commit e1b1435a00
8 changed files with 44 additions and 81 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -439,7 +439,7 @@ public class MBeanClientInterceptor
throw ex.getTargetError();
}
catch (RuntimeOperationsException ex) {
// This one is only thrown by the JMX 1.2 RI, not by the JDK 1.5 JMX code.
// This one is only thrown by the JMX 1.2 RI, not by the JDK JMX code.
RuntimeException rex = ex.getTargetException();
if (rex instanceof RuntimeMBeanException runtimeMBeanException) {
throw runtimeMBeanException.getTargetException();