Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 285458

Summary: Remove Illegal JDT calls in eAR Libraries classpath code
Product: [WebTools] WTP Java EE Tools Reporter: Jason Sholl <jsholl>
Component: jst.j2eeAssignee: Jason Sholl <jsholl>
Status: RESOLVED WONTFIX QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, hej
Version: 3.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

Description Jason Sholl CLA 2009-08-03 11:21:23 EDT
This bug is to track the remainder of the illegal JDT calls being made during J2EEComponentClasspathContainer classpath computation.  All legal calls should call only methods in the IJavaProjectLite and JavaCoreLite classes; others are considered illegal by JDT.

One set of remaining calls which needs to be removed are in org.eclipse.jst.j2ee.classpathdep.ClasspathDependencyUtil.getComponentClasspathDependencies()
Comment 1 Helge Jensen CLA 2009-09-23 07:23:27 EDT
I experienced bug 241343 (which this is related to) on win32, eclipse 3.5

(Version: 3.5.0 Build id: I20090611-1540)

I was able to workaround it by renaming the .project file in workaspace/Servers
restarting and removing and adding the Server-configuration. That was *much*
faster than creating a new workspace :)
Comment 2 Jason Sholl CLA 2010-08-27 13:37:42 EDT
While, the JDT calls remain in org.eclipse.jst.j2ee.classpathdep.ClasspathDependencyUtil.getComponentClasspathDependencies(), this code is no longer called from the J2EEComponentClasspathContainer or the IDependencyGraph, so illegal calls are no longer being made when computing the classpath containers.