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

Bug 328958

Summary: ObjectAccessor.processIndirection loads class during metadata processing
Product: z_Archived Reporter: Shaun Smith <shaun.smith>
Component: EclipselinkAssignee: Tom Ware <tom.ware>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipselink.orm-inbox, guy.pelletier, tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
fix using MetadataClass.extendsInterface none

Description Shaun Smith CLA 2010-10-28 14:17:15 EDT
ObjectAccessor.processIndirection loads a Java class in order to see if it implements PersistenceWeavedLazy.  However MetadataClass can answer whether it implements an interface without loading the actual class.  

This bug was found by Gemini JPA usage.

Patch attached.
Comment 1 Shaun Smith CLA 2010-10-28 14:18:15 EDT
Created attachment 181975 [details]
fix using MetadataClass.extendsInterface
Comment 2 Tom Ware CLA 2010-11-01 13:29:50 EDT
Assigning to myself - this change is already in my currect tx
Comment 3 Tom Ware CLA 2010-11-03 14:21:04 EDT

*** This bug has been marked as a duplicate of bug 329381 ***
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:04:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink