I just upgraded to the UploadedFilesAware version and now I see this message in my logs

WARN com.opensymphony.xwork2.ognl.SecurityMemberAccess SecurityMemberAccess:isAccessible - Access to non-public [private java.util.List my.MyUpload.uploadedFiles] is blocked!

Every thing is working ok.

In MyUpload I have declared this:

private List<UploadedFile> uploadedFiles = null;

There is no reference I can find outside the class that uses this variable.  There is no setter/getter either.

As a test I renamed it in the class:

private List<UploadedFile> uploadedFilesz = null;

which should make no difference as I implement the withUploadedFile method:

public void withUploadedFiles(List<UploadedFile> uploadedFiles) {

        this.uploadedFilesz = uploadedFiles;

    }

The message goes away. So I have to not use the variable name uploadedFiles in my class ???




Reply via email to