Community
Participate
Working Groups
The classes org.eclipse.tptp.platform.models/org.eclipse.hyades.models.common.util.FileUtil and org.eclipse.tptp.platform.common/org.eclipse.hyades.ui.internal.util.FileUtil use the class sun.security.action.GetPropertyAction. Proposed fix: replace the code ---------------------------------- import sun.security.action.GetPropertyAction; ... GetPropertyAction a = new GetPropertyAction("java.io.tmpdir"); String tmpdir = ((String)AccessController.doPrivileged(a)); ---------------------------------- with following ---------------------------------- import java.security.PrivilegedAction; ... String tmpdir = ((String)AccessController.doPrivileged( new PrivilegedAction() { public Object run() { return System.getProperty("java.io.tmpdir"); } })); ----------------------------------
This should be cleaned up in 4.4. (Note that the fastXPath code is customized for each JRE, which is why it's tested against all four JREs during each test pass: Sun 1.4.2, Sun 5, IBM 1.4.2, IBM 5.)
Fix in CVS.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
One reference still remains in org.eclipse.hyades.ui.internal.util.FileUtil.getTempDir().
Created attachment 172813 [details] Patch for Bug 163805
Patch checked into HEAD.
Verified in CVS (HEAD). Closing.