jMock

Upgrade to CGLIB 2.2

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.5.0
  • Fix Version/s: 2.6.0
  • Component/s: JMock 2.x.x Library
  • Labels:
    None
  • Number of attachments :
    0

Activity

Hide
Nat Pryce added a comment -

Implemented in SVN.

Show
Nat Pryce added a comment - Implemented in SVN.
Hide
Kenny MacLeod added a comment -

Is CGLIB 2.2 an absolute requirement, or just a convenient upgrade?

The reason I ask is that when cglib is packaged in an application and deployed to an appser, you can get chronic classloader leaks as each deployment gets its own static pool of generated classes. In JBoss AS, cglib 2.1 is part of the server, and so apps can just use that and mitigate the leaks. But if cglib 2.2 becomes necessary for jmock, it's back to leaky town.

Show
Kenny MacLeod added a comment - Is CGLIB 2.2 an absolute requirement, or just a convenient upgrade? The reason I ask is that when cglib is packaged in an application and deployed to an appser, you can get chronic classloader leaks as each deployment gets its own static pool of generated classes. In JBoss AS, cglib 2.1 is part of the server, and so apps can just use that and mitigate the leaks. But if cglib 2.2 becomes necessary for jmock, it's back to leaky town.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: