diff options
author | Darin Wright | 2009-07-08 16:18:29 +0000 |
---|---|---|
committer | Darin Wright | 2009-07-08 16:18:29 +0000 |
commit | 837ccc4104bee8af8c95adfc963ef957829619ca (patch) | |
tree | 0b06cf4682f02ac068a2fa645df1a3991f3c1809 | |
parent | ccac8cf5b94d4af207c3910a757f0761171a8308 (diff) | |
download | eclipse.jdt.debug-837ccc4104bee8af8c95adfc963ef957829619ca.tar.gz eclipse.jdt.debug-837ccc4104bee8af8c95adfc963ef957829619ca.tar.xz eclipse.jdt.debug-837ccc4104bee8af8c95adfc963ef957829619ca.zip |
[r351] Bug 195183 - [launching] JavaClassPath.performApply() uses original instead of working copy causes NPEv20090708_r351
-rw-r--r-- | org.eclipse.jdt.debug.ui/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.debug.ui/META-INF/MANIFEST.MF b/org.eclipse.jdt.debug.ui/META-INF/MANIFEST.MF index 20f013807..c30c06921 100644 --- a/org.eclipse.jdt.debug.ui/META-INF/MANIFEST.MF +++ b/org.eclipse.jdt.debug.ui/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.jdt.debug.ui; singleton:=true -Bundle-Version: 3.4.0.qualifier +Bundle-Version: 3.4.1.qualifier Bundle-Activator: org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java index 65610ee3c..925bb5873 100644 --- a/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java +++ b/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/debug/ui/launchConfigurations/JavaClasspathTab.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2009 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -272,7 +272,7 @@ public class JavaClasspathTab extends AbstractJavaClasspathTab { public void performApply(ILaunchConfigurationWorkingCopy configuration) { if (isDirty()) { IRuntimeClasspathEntry[] classpath = getCurrentClasspath(); - boolean def = isDefaultClasspath(classpath, configuration.getOriginal()); + boolean def = isDefaultClasspath(classpath, configuration); if (def) { configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, (String)null); configuration.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, (String)null); |