Summary: | javadoc bundled in plugin not handled properly; exception occurs | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | John Cortell <john.cortell> | ||||||
Component: | UI | Assignee: | Curtis Windatt <curtis.windatt.public> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | curtis.windatt.public, daniel_megert | ||||||
Version: | 3.6 | Keywords: | contributed | ||||||
Target Milestone: | 3.6 M4 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
John Cortell
2009-11-06 19:02:49 EST
Created attachment 151618 [details]
fix
Created attachment 151619 [details]
use this eclipse plugin to reproduce problem
Reproducibility steps: 1. Unzip the attached plugin archive to the plugins directory of your eclipse installation 2. Launch eclipse 3. In any plugin, add "mylib" as a required plug-in (use the manifest editor's Dependencies page) 4. Anywhere in your plugin code, add a call to mylib.Acivator.getDefault(). 5. Hover the cursor over "getDefault" 6. Note the exception that is logged in the error log I don't see any comments in JDT saying that the javadoc location must be a URL, but the logic in jdt.launching does use URLs. PDE doesn't look at the value after setting it, so your fix won't cause us any problems. cc'ing Dani to see if he has any comments about the usage of JAVADOC_LOCATION_ATTRIBUTE_NAME It would be good to improve the javadoc on that element to say that its value must be a string url. Patch is fine. Filed bug 294731 to get the Javadoc updated. Thanks for confirming Dani. Patch applied to HEAD. |