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

Bug 320265

Summary: ClassConstants causes too many transitive class dependencies
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
Component: EclipselinkAssignee: Blaise Doughan <blaise.doughan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.foundation-inbox, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Blaise Doughan CLA 2010-07-19 10:07:01 EDT
The class org.eclipse.persistence.internal.helper.ClassConstants references alot of EclipseLink classes and in turn introduces many transitive dependencies.  For example SDO impl classes are transitively dependent on org.eclipse.persistence.internal.jpa.parsing.jpql.antlr.JPQLLexer.  

These transitive dependencies may be causing some class loading issues.

The class constants class was introduced as a performance optimization.  Due to compiler advances this optimization may no longer be required.
Comment 1 Blaise Doughan CLA 2013-08-07 14:34:18 EDT
This was fixed in EclipseLink 2.5.0 as part of another bug fix with the creation of o.e.p.internal.core.helper.CoreClassContants.
Comment 2 Eclipse Webmaster CLA 2022-06-09 10:05:42 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink