title: Reaching static field declared in serialPersistentFields
body: <p>So xstream (v1.4.8) with this line</p>
  
  <pre><code>private Object More ...readField(ObjectStreamField field, Class type, Object instance) {
          try {
             Field javaField = type.getDeclaredField(field.getName());
  </code></pre>
  
  <p><a href="http://grepcode.com/file/repo1.maven.org/maven2/com.thoughtworks.xstream/xstream/1.4.8/com/thoughtworks/xstream/converters/reflection/SerializableConverter.java?av=f#295" rel="nofollow">more here</a><br>
  tries to reach the field named "list" (field.getName() returns "list")</p>
  
  <pre><code>private static final ObjectStreamField[] serialPersistentFields = {
               new ObjectStreamField("list", VirtualFilePermission[].class)
       };
  </code></pre>
  
  <p>declared in  <a href="http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss/jboss-vfs/3.2.9.Final/org/jboss/vfs/VirtualFilePermissionCollection.java" rel="nofollow">org.jboss.vfs.VirtualFilePermissionCollection</a> but runs into NoSuchFieldException. Why is that?</p>