ClassFinder.java gives compile time error due to wrong import
-------------------------------------------------------------

                 Key: WW-3502
                 URL: https://issues.apache.org/jira/browse/WW-3502
             Project: Struts 2
          Issue Type: Bug
          Components: Build Management
    Affects Versions: 2.2.1
            Reporter: Rajeev kumar
            Priority: Trivial


1) ClassFinder.java gives compile time error due to wrong import, as mentioned 
below.
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.FieldVisitor;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.commons.EmptyVisitor;

These all should be as mentioned below as per xwrok-core-2.2.1.jar:-
import org.objectweb.asm.xwork.ClassReader;
import org.objectweb.asm.xwork.FieldVisitor;
import org.objectweb.asm.xwork.MethodVisitor;
import org.objectweb.asm.xwork.commons.EmptyVisitor;

2) Also ResourceFinder.java at line 972 gives compile time error with 
common-lang-2.3 version as used StringUtiils. it is working fine with 
common-lang-2.5.jar, but with struts 2.2.1 given common-lang version is 2.3.

if (entry.isDirectory() && StringUtils.startsWith(name, basePath)) {
                resources.add(name);
            }


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to