Other |
---|
1.2.2 1.2.2Fixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
|
Relates :
|
JEditorPane instances fail to initialize properly the HTML EditorKit when the initialization is triggered from non-privileged code. There are at least 2 calls to getResourceAsStream() that are not properly surrounded by a doPrivilege() call: one gets the CSS file, the other gets the .bdtd file. Without this the HTML factory throws a bad exception. A visual inspection of the code using grep showed 2-3 other places where getResource() was being used without a doPrivilege() call. It was not immediate whether these places needed the extra calls. - eduardo
|