ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ant] twogee commented on a change in pull request #133: Class.newInstance() is deprecated in Java 9+
Date Wed, 29 Jul 2020 17:42:42 GMT

twogee commented on a change in pull request #133:
URL: https://github.com/apache/ant/pull/133#discussion_r462240094



##########
File path: src/main/org/apache/tools/zip/ExtraFieldUtils.java
##########
@@ -81,10 +87,10 @@ public static void register(Class<?> c) {
      * @since 1.1
      */
     public static ZipExtraField createExtraField(ZipShort headerId)
-        throws InstantiationException, IllegalAccessException {
+            throws InstantiationException, IllegalAccessException, NoSuchMethodException,
InvocationTargetException {

Review comment:
       thanks, missed that, wrapped in InstantiationException.




----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message