Add fixme regarding a JDK 1.3 workaround

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1620579 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2014-08-26 11:53:51 +00:00
parent 01a950e320
commit 161ef971c4
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public class FieldUtils {
public static Field getField(final Class<?> cls, final String fieldName, final boolean forceAccess) {
Validate.isTrue(cls != null, "The class must not be null");
Validate.isTrue(StringUtils.isNotBlank(fieldName), "The field name must not be blank/empty");
// FIXME is this workaround still needed? lang requires Java 6
// Sun Java 1.3 has a bugged implementation of getField hence we write the
// code ourselves