GitHub user dolphy17 opened a pull request:

    https://github.com/apache/zookeeper/pull/392

    ZOOKEEPER-2914 compiler warning using java 9

    Replaced deprecated methods (Class.newInstance()) and removed redundant cast

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dolphy17/zookeeper ZOOKEEPER-2914

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/392.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #392
    
----
commit b2d400bc094afead646a56ab3edadfa5166f13ad
Author: Andor Molnar <[email protected]>
Date:   2017-10-05T18:57:18Z

    Replaced Class.newInstance() methods (deprecated in Java 9) with 
Constructor.newInstance()

----


---

Reply via email to