On Sun, 23 Apr 2006, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Similarly, I wonder what happens for a user who would > > 1) build ant under JDK 1.2, > 2) run ant under JDK 1.4, > > and attempt to use the RegexpFactory, for instance through the > <replaceregexp/> task ?. > > The RegexpFactory does not check whether > org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp is present, > only whether java.util.regex.Matcher is present. > > Actually, I was wondering whether we are not already forbidding - de > facto and silently - this type of use cases.
I vaguely recall a bug report along those lines. Yes, you are correct, the current code simply assumes you have all implementations around. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]