gora-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] (GORA-536) Avoid calling Class#newInstance
Date Tue, 22 May 2018 11:43:00 GMT

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

ASF GitHub Bot commented on GORA-536:
-------------------------------------

Github user djkevincr commented on the issue:

    https://github.com/apache/gora/pull/133
  
    [INFO] Reactor Summary:
    [INFO] 
    [INFO] Apache Gora ....................................... SUCCESS [1.296s]
    [INFO] Apache Gora :: Compiler ........................... SUCCESS [2.198s]
    [INFO] Apache Gora :: Compiler-CLI ....................... SUCCESS [1.214s]
    [INFO] Apache Gora :: Core ............................... SUCCESS [1:26.668s]
    [INFO] Apache Gora :: Accumulo ........................... SUCCESS [7:20.811s]
    [INFO] Apache Gora :: HBase .............................. SUCCESS [2:31.169s]
    [INFO] Apache Gora :: Cassandra - CQL .................... SUCCESS [1:20.393s]
    [INFO] Apache Gora :: GoraCI ............................. SUCCESS [6.215s]
    [INFO] Apache Gora :: Infinispan ......................... SUCCESS [1:09.991s]
    [INFO] Apache Gora :: JCache ............................. SUCCESS [56.084s]
    [INFO] Apache Gora :: OrientDB ........................... SUCCESS [1:35.556s]
    [INFO] Apache Gora :: Dynamodb ........................... SUCCESS [4.308s]
    [INFO] Apache Gora :: CouchDB ............................ SUCCESS [4.313s]
    [INFO] Apache Gora :: Maven Plugin ....................... SUCCESS [3.132s]
    [INFO] Apache Gora :: MongoDB ............................ SUCCESS [1:27.104s]
    [INFO] Apache Gora :: Solr ............................... SUCCESS [3:48.569s]
    [INFO] Apache Gora :: Aerospike .......................... SUCCESS [2.391s]
    [INFO] Apache Gora :: Tutorial ........................... SUCCESS [4.992s]
    [INFO] Apache Gora :: Sources-Dist ....................... SUCCESS [0.568s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 22:07.628s
    [INFO] Finished at: Tue May 22 17:00:41 IST 2018
    [INFO] Final Memory: 83M/786M



> Avoid calling Class#newInstance
> -------------------------------
>
>                 Key: GORA-536
>                 URL: https://issues.apache.org/jira/browse/GORA-536
>             Project: Apache Gora
>          Issue Type: Task
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: 0.9
>
>
> Class::newInstance is deprecated starting in Java 9 - https://bugs.openjdk.java.net/browse/JDK-6850612
- because it may throw undeclared checked exceptions.
> The suggested replacement is {{getDeclaredConstructor().newInstance()}}, which will wrap
the checked exceptions in InvocationException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message