"Gary Lawrence Murphy" skribis: > The subject line is just a guess. I have a static method: > > public static List > findFiles( List paths, List exts, String regexp ) > > and I have the following sequence in bsh: > [...] > bsh % List l = PathUtil.findFiles(paths, ext, "mod.*"); > > // Error: Typed variable declaration : Error in method invocation: > Static method findFiles( java.util.ArrayList, java.util.ArrayList, > java.lang.String ) not found in > class'ca.cbc.sportwire.util.PathUtil' : at Line: 6 : in file: > <unknown file> : PathUtil .findFiles ( paths , ext , "mod.*" ) > > Other static methods of this class work fine; I only get this problem > with any static methods using List parameters. Is there something > about using interface (List) parameters for concrete (ArrayList) > values that won't work under bsh?
Just another guess: Beanshell is confusing java.awt.List and java.util.List? Paul