zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2914) compiler warning using java 9
Date Thu, 05 Oct 2017 19:00:05 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193447#comment-16193447
] 

ASF GitHub Bot commented on ZOOKEEPER-2914:
-------------------------------------------

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 <andor@cloudera.com>
Date:   2017-10-05T18:57:18Z

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

----


> compiler warning using java 9
> -----------------------------
>
>                 Key: ZOOKEEPER-2914
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2914
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.5.4, 3.6.0, 3.4.11
>            Reporter: Patrick Hunt
>            Assignee: Tamas Penzes
>            Priority: Minor
>              Labels: newbie
>             Fix For: 3.5.4, 3.6.0, 3.4.11
>
>
> There are a number of warnings that crop up on branch 3.4/3.5/trunk when compiling "ant
clean compile-test" using java 9.
> Perhaps someone can verify/fix any warning across the jdks that we support (jdk6/7/8/9)
and 9 in particular since it's just reached GA.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message