Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320803

Summary: PDE uses deprecated File.toURL()
Product: [Eclipse Project] PDE Reporter: Petri Tuononen <petri.tuononen>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: curtis.windatt.public
Version: 4.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 320804, 320806, 320807    
Bug Blocks: 320776    

Description Petri Tuononen CLA 2010-07-24 09:11:48 EDT
Build Identifier: 20100617-1415

Using deprecated method toURL() from the type File is not recommended and could be changed to toURI().toURL() to escape any special characters.

Reproducible: Always
Comment 1 Petri Tuononen CLA 2010-07-24 09:22:16 EDT
Created patches under dependant projects that should change all calls from deprecated method toURL() from the type File to toURI().toURL() to escape any special characters.
Comment 2 Petri Tuononen CLA 2010-07-24 09:24:01 EDT
I marked status as Fixed, because I have submitted resolving patches but as far nobody has committed them to the HEAD so I reopen this bug.
Comment 3 Curtis Windatt CLA 2010-07-26 11:47:30 EDT
Please don't file and modify so many related bugs.  We all have received an enormous number of emails because of this.  Furthermore, none of the PDE Core/UI bugs will be fixed because there is a reason why the toURL() is being used.

We appreciate you trying to help improve PDE.  Next time please just file one bug (or one per component) with one patch.