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

Bug 370895

Summary: Static weaving results in infinite builder loop when enabled
Product: [WebTools] Dali JPA Tools Reporter: Neil Hauge <neil.hauge>
Component: JPAAssignee: Tran Le <tranle1>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P2 CC: jolene.moffitt
Version: 3.1   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Neil Hauge CLA 2012-02-07 17:21:52 EST
In M5, enabling the static weaving feature will result in the weaving builder running in an infinite loop on my machine.  The cause appears to be the call to getProject().refreshLocal(...) in AbstractJptGenerator.  Commenting this out appears to solve the issue, but this will likely have an impact on other generators.
Comment 1 Tran Le CLA 2012-02-28 12:42:10 EST
Fixed in M6
Comment 2 Tran Le CLA 2012-02-28 12:42:43 EST
Fixed in M6
Comment 3 Jolene Moffitt CLA 2012-03-21 14:10:09 EDT
Verified in Build S-3.4.0-20120319200442 

Verified when you select static weaving for the JPA EclipseLink project that it does not continue to run in an infinite loop. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M6