Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-399

Proxy objects could not be correctly deserialized by using javassist 3.11. we need to update to 3.12

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • M4
    • 1.0.0-alpha-1
    • Core
    • None

    Description

      While I am investigating owb failover / passivation support , I encountered an issue that de-serialized proxy object could not delegate calls to bean instance object methods. The handler field held by the proxy object ( such as NormalScopeBeanInterceptorHandler we used for normal scope ) is replaced with javassist default handler.

      Sandbox tests show hat if I upgrade to javassist 3.12 and use ProxyObjectInputStream/ProxyObjectOutputStream, the handler in de-serialized proxy object get restored correctly.

      But 3.12 is not in jboss repository yet, anyone know if there is a way to push them update their javasssist repository? or create our own snapshot repository temporarily?

      Attachments

        Activity

          People

            struberg Mark Struberg
            yingwang Ying Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 6h
                6h
                Remaining:
                Remaining Estimate - 6h
                6h
                Logged:
                Time Spent - Not Specified
                Not Specified