| Summary: | Setting classpath container initializer should be batched | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Martin Aeschlimann <martinae> |
| Component: | Debug | Assignee: | Darin Swanson <Darin_Swanson> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.1 | ||
| Target Milestone: | 3.0 M4 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 34776 | ||
|
Description
Martin Aeschlimann
Marking as RC3 candidate. Needs secondary approval from Erich. approve NOTE: cannot collapse with the "build" as the build is performed from the UI (pref page), and the property change is handled in the core plug-in. The processing of property changes is now performed in a single workspace runnable. Added a busy cursor when OK is pressed on the VM pref page (since the proeprty change handling cannot display a progress montior). Changes in LaunchingPlugin, and VMPreferencePage. Fixed. Please verify, Darin (S). Verified code. Not fixed: JavaCore.run should be used instead of Workspace.run The problem is still here and is also the cause for heavy flickering of the class file editor when changing or modifying the JRE (bug 34776) Another problem is that that in JREContainerInitializer.requestClasspathContainerUpdate(IPath, IJavaProject, IClasspathContainer) line: 149 both standin.convertToRealVM(); JavaRuntime.saveVMConfiguration(); lead to a call of 'process' creating a runnable that updates all classpath initializer of all projects Removing milestone. Martin, I have updated the code to use JavaCore.run. However, I cannot reproduce the double call to #process() as indicated in comment #8. Is this still a problem (when using the latest JDT launching plug-in)? Seems to be fixed. Couldn't reproduce either. Fixed. The only change is to use JavaCore.run instead of Workspace.run. ..fixing... Marking as verified, since Martin has verified the behavior. |