XStream

mapper for CGLib classes

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.2
  • Component/s: None
  • Labels:
    None

Description

mapper that works with CGLib enhanced classes - it removes the CGLib signature and stores the classes with their original name. I'll upload a unit test in a short while.

  1. CGLibMapper.java
    18/Aug/05 5:10 AM
    2 kB
    Costin Leau
  2. CGLibMapperTest.java
    18/Aug/05 6:14 AM
    2 kB
    Costin Leau
  3. Obj.java
    18/Aug/05 6:13 AM
    0.9 kB
    Costin Leau

Issue Links

Activity

Hide
Costin Leau added a comment -

dummy object used for CGLib

Show
Costin Leau added a comment - dummy object used for CGLib
Hide
Costin Leau added a comment -

unit test

Show
Costin Leau added a comment - unit test
Hide
Costin Leau added a comment -

Through unit tests I've noticed that CGLib uses by default a different signature for JDK classes with an exception for java.lang.Object.
See: http://cglib.sourceforge.net/xref/net/sf/cglib/core/DefaultNamingPolicy.html. The mapper doesn't take into account this naming convention (I've used only classes outside the JDK).

Show
Costin Leau added a comment - Through unit tests I've noticed that CGLib uses by default a different signature for JDK classes with an exception for java.lang.Object. See: http://cglib.sourceforge.net/xref/net/sf/cglib/core/DefaultNamingPolicy.html. The mapper doesn't take into account this naming convention (I've used only classes outside the JDK).
Hide
Joerg Schaible added a comment -

The contributed code is now superceded by the solution implemented for XSTR-239. Please reopen, if there's any issue left.

Show
Joerg Schaible added a comment - The contributed code is now superceded by the solution implemented for XSTR-239. Please reopen, if there's any issue left.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: