river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sim IJskes - QCG <...@qcg.nl>
Subject Re: Build failed in Hudson: River-trunk-QA-windows #7
Date Mon, 22 Nov 2010 17:20:15 GMT
On 11/22/2010 06:05 PM, Sim IJskes - QCG wrote:
> On 11/22/2010 06:02 PM, Sim IJskes - QCG wrote:
>> Hmm, how can we be sure what a FilePermission string looks like on a
>> future system? It is a bug to pass a URL, but i'm back peddling on
>> throwing an exception. A warning maybe, or a logging statement?
> Something that we can enable during testing, and will never cause
> problems in production environments, was my line of thinking.

Stripping '*' and '-' from the end, and then new File(str).getPath() 
will cause FileSystem.normalize(), would this check for illegal file 
specification? FileSystem is package private so no direct access.

Gr. Sim

View raw message