Community
Participate
Working Groups
Expose a FileResource(File) constructor that could be used to resolve ambiguities and avoid JVM encoding deficiencies. Remove Java 1.4 hack from FileResource(URL) constructor and make it work using standard Java methods.
Committed r3434.
Changes were reverted.
a File is used by Resource.newResource(String) the gains for a FileResource(File) constructor are small and would need changes to Resource class constructors. I've added a Resource.newResource(File) as a convenience.
Resolved -> Closed