Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328958 - ObjectAccessor.processIndirection loads class during metadata processing
Summary: ObjectAccessor.processIndirection loads class during metadata processing
Status: CLOSED DUPLICATE of bug 329381
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tom Ware CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-28 14:17 EDT by Shaun Smith CLA
Modified: 2022-06-09 10:04 EDT (History)
3 users (show)

See Also:


Attachments
fix using MetadataClass.extendsInterface (990 bytes, patch)
2010-10-28 14:18 EDT, Shaun Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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