DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25972>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25972 ValueServer switching from URL to File is badly broken Summary: ValueServer switching from URL to File is badly broken Product: Commons Version: 1.0 Alpha Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Math AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] On a Windows machine, where there are spaces in the install path, URL.getFile returns something like: /C:/Jakarta%20Development/commons-math/target/test- classes/org/apache/commons/math/random/testData.txt ValueServer then tries to construct a File out of this, which is of course an invalid path. IMHO it would be better to base the class on InputStream (instead of File), since in an app-server the concept of File isn't really defined. Otherwise, it should be based on a URL, and use the openStream method to read the resource. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
