Issue Details (XML | Word | Printable)

Key: GLASSFISH-14294
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Shing Wai Chan
Reporter: Sanjeeb Sahoo
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

Race condition in WebappClassLoader

Created: 29/Oct/10 04:31 AM   Updated: 27/Nov/10 01:15 PM   Resolved: 29/Oct/10 03:04 PM
Component/s: web_container
Affects Version/s: 3.1
Fix Version/s: V3

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: All


Issuezilla Id: 14,294
Tags:
Participants: Sanjeeb Sahoo and Shing Wai Chan


 Description  « Hide

getURLs() method in WebappClassLoader does lazy initialization of repositoryURLs
field, yet this method is not protected against race condition. Just make the
method synchronized.



Shing Wai Chan added a comment - 29/Oct/10 03:04 PM

42294 29.10.2010 19:21:36, by swchan2
fix issue 14294: Race condition in WebappClassLoader
M
/trunk/v3/web/war-util/src/main/java/org/glassfish/web/loader/WebappClassLoader.java