Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-dev] Question about the fix to Bug 163391

Hello Chuck,

 

Thank you for your response.  I would really appreciate it if you could provide a patch for this.  I have opened the following bug to track this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=207876

 

Thank you.

Hoi

 


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuck Bridgham
Sent: Monday, October 29, 2007 12:01 PM
To: General discussion of project-wide or architectural issues.
Cc: General discussion of project-wide or architectural issues.; Jason A Sholl; wtp-dev-bounces@xxxxxxxxxxx
Subject: RE: [wtp-dev] Question about the fix to Bug 163391

 


Sorry for the late response...

For implementor's of EMF Resource classes not subclassing from ReferencedResource, I can see how this could have caused a regression.  I can submit a patch for your internal use?  (Also move fixes to 2.x and 3.x?).
Our fix did resolve an issue where we were unloading resources too aggressively.  But I can change this slightly to account for non-"ReferencedResource" instances.

ReferencedResources have reference counting api's, and are used with the standard J2EE model api's.

- Chuck

Rational Java EE Tooling Team Lead
IBM Software Lab - Research Triangle Park, NC
Email:  cbridgha@xxxxxxxxxx
Phone: 919-254-1848 (T/L: 444)


"Konstantin Komissarchik" <kosta@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

10/24/2007 09:14 PM

Please respond to
"General discussion of project-wide or architectural issues."        <wtp-dev@xxxxxxxxxxx>

To

"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>, Chuck Bridgham/Raleigh/IBM@IBMUS, Jason A Sholl/Raleigh/IBM@IBMUS

cc

 

Subject

RE: [wtp-dev] Question about the fix to Bug 163391

 

 

 




Just to clarify...
 
We are trying to determine if this is due to our incorrect usage of the api in question or if the fix for 163391 introduced a regression. In either case, this has caused a really bad behavioral regression for us that took a long time to track down. This was partly because we weren't expecting such a change to be introduced in 1.5.3 and were focused on finding the cause in our code. In any case, a prompt attention to help us resolve this would be much appreciated.
 
Thanks,
 
- Konstantin
 


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Hoi Lam
Sent:
Wednesday, October 24, 2007 3:59 PM
To:
cbridgha@xxxxxxxxxx; jsholl@xxxxxxxxxx
Cc:
wtp-dev@xxxxxxxxxxx
Subject:
[wtp-dev] Question about the fix to Bug 163391


Hello Chuck and Jason,
 
I have a question regarding the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=163391  
 
The fix has tightened the condition logic to only unload resources that are “Referenced resource” and not consistent…
 
Could you elaborate on what is a “referenced resource” please  (based on the code, a “referenced resource” must be an instance of org.eclipse.wst.common.internal.emf.resource.ReferencedResource).
 
In my case, I have a resource that is an instance of org.eclipse.emf.ecore.xmi.XMLResourceImpl, and due to the fix, the resource no longer gets unloaded when it is outdated.  As a result, the EMF model representing the resource is out of sync when the resource is modified.
 
Your feedback and any recommendation for a workaround would be greatly appreciated.  Thank you.
 
Hoi


Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

Back to the top