cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Sahuc <ssa...@imediation.com>
Subject [C2] bug in Javac.parseClassicError() on Windows system
Date Thu, 24 Aug 2000 11:31:30 GMT
The class 
org.apache.cocoon.components.language.programming.java.Javac

have a bug in method 
CompileError parseClassicError(String error)

Indeed in Windows the error String will looks like :
C:\cocoon\WEB-INF\[...]

whereas in UNIX it will be :
/usr/cocoon/WEB-INF

Though the method is constructing a StringTokenizer based on the 
separator ':' which causes NumberFormatException in Windows (line 177 of 
Javac) by tryin g to convert into integer the following string 
'\cocoon\WEB-INF\[...]'

All the best,

Sebastien



Mime
View raw message