GitHub user carlosrmng opened a pull request:

    https://github.com/apache/gora/pull/133

    GORA-536: Avoid calling Class#newInstance

    When using reflexion use `getDeclaredConstructor().newInstance()` instead 
of `Class::newInstance` because it may throw undeclared checked exceptions.

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

    $ git pull https://github.com/carlosrmng/gora GORA-536

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

    https://github.com/apache/gora/pull/133.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 #133
    
----
commit aed2e299762d632eb00da18f6815f6fffd8d75bd
Author: Carlos Rodrigo Muñoz <carlosrmng@...>
Date:   2018-05-13T02:50:32Z

    When using reflexion use getDeclaredConstructor().newInstance() instead of 
Class::newInstance because it may throw undeclared checked exceptions.

commit 0896daf8bae1899694305ffc7e3f9b02de5d770c
Author: Carlos Rodrigo Muñoz <carlosrmng@...>
Date:   2018-05-13T03:25:01Z

    remove unused imports

----


---

Reply via email to