This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new 29b87d5 it_shall_not_named_`ignored`_ (#540) 29b87d5 is described below commit 29b87d5cea51c2e087592db4f2bae7c290efde3d Author: XenoAmess <xenoam...@gmail.com> AuthorDate: Sat Jun 13 23:14:45 2020 +0800 it_shall_not_named_`ignored`_ (#540) --- src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java index 4d2ce16..2a78f58 100644 --- a/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java +++ b/src/main/java/org/apache/commons/lang3/reflect/FieldUtils.java @@ -740,11 +740,11 @@ public class FieldUtils { } } } - } catch (final NoSuchFieldException | IllegalAccessException ignored) { + } catch (final NoSuchFieldException | IllegalAccessException e) { if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_12)) { throw new UnsupportedOperationException( "In java 12+ final cannot be removed.", - ignored + e ); } // else no exception is thrown because we can modify final.