Browse Source

Try to fix compilation error (see https://bugs.openjdk.java.net/browse/JDK-8212636 workaround)

MeFisto94 6 years ago
parent
commit
2e3cfce41a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jme3-core/src/com/jme3/gde/core/util/PropertyUtils.java

+ 1 - 1
jme3-core/src/com/jme3/gde/core/util/PropertyUtils.java

@@ -45,7 +45,7 @@ public class PropertyUtils {
 
     public static PropertyDescriptor getPropertyDescriptor(Class c, Field field) {
         try {
-            PropertyDescriptor prop = new PropertyDescriptor(field.getName(), c);
+            PropertyDescriptor prop = new PropertyDescriptor((String)field.getName(), c);
 
             prop.setDisplayName(splitCamelCase(field.getName()));