My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 32: Need test for wrapping methods on custom Enum classes
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  kandpwel...@gmail.com
Closed:  Dec 2011
Cc:  codeto...@gmail.com


 
Project Member Reported by kandpwel...@gmail.com, Dec 7, 2011
I just ran into a problem using an old version of Funcito stubbing a method on an Enum.  It may simply be the fact that I was using code that was pre-Objenesis/CglibImposterizer, because it was failing while trying to find an appropriate constructor using my original ctor-searching code.

There should also be a comparable test for Javassist.

Test results will determine whether or not this is actually a defect, a limitation of bytecode enhancement, or just old code.
Dec 7, 2011
Project Member #1 kandpwel...@gmail.com
As I thought, Enums cannot be imposterised by either codegen framework because Enums are implicitly final classes
Status: CodeComplete
Dec 12, 2011
Project Member #2 kandpwel...@gmail.com
closing
Status: Fixed

Powered by Google Project Hosting