coheigea commented on a change in pull request #11463: FLINK-16697 - Disable 
JMX rebinding
URL: https://github.com/apache/flink/pull/11463#discussion_r398017986
 
 

 ##########
 File path: 
flink-metrics/flink-metrics-jmx/src/main/java/org/apache/flink/metrics/jmx/JMXReporter.java
 ##########
 @@ -541,5 +552,40 @@ public void stop() throws IOException {
                                }
                        }
                }
+
+               /*
+                * Better to use the internal API than re-invent the wheel.
+                */
+               @SuppressWarnings("restriction")
+               private class JmxRegistry extends sun.rmi.registry.RegistryImpl 
{
 
 Review comment:
   Unfortunately not, I haven't found a way not to use the internal classes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to