eolivelli commented on a change in pull request #910: ZOOKEEPER-3364 Compile 
with strict options in order to check code quality
URL: https://github.com/apache/zookeeper/pull/910#discussion_r281816806
 
 

 ##########
 File path: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/watch/WatchManagerFactory.java
 ##########
 @@ -39,7 +39,8 @@ public static IWatchManager createWatchManager() throws 
IOException {
         }
         try {
             IWatchManager watchManager =
-                    (IWatchManager) 
Class.forName(watchManagerName).newInstance();
+                    (IWatchManager) Class.forName(watchManagerName)
 
 Review comment:
   this is deprecated on JDK10+ and the build fails on Travis

----------------------------------------------------------------
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