Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(0.20.0) Partial MethodType created by readObject can be used #9245

Merged
merged 3 commits into from
Apr 15, 2020

Commits on Apr 14, 2020

  1. Partial MethodType created by readObject can be used

    If the serialized MethodType contains objects which have their own readObject
    method, whether from extra items in the serialized form or from the return
    type or argumens fields, then the bogus MethodType object created will be
    accessible from the other readObject methods, with possibly incomplete type
    information.
    
    This commit adds copies of the arguments and return type fields for use in
    serialization, and sets the actual type to "()V" until readResolve is called
    and creates a useable MethodType.
    
    Signed-off-by: Mike Zhang <mike.h.zhang@ibm.com>
    mikezhang1234567890 authored and pshipton committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    6d814d4 View commit details
    Browse the repository at this point in the history
  2. Set more default values in MethodType.readObject

    Set methodDescriptor string and stackDescriptionBits in case the temporary
    object is accessed.
    
    Signed-off-by: Mike Zhang <mike.h.zhang@ibm.com>
    mikezhang1234567890 authored and pshipton committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    1638f43 View commit details
    Browse the repository at this point in the history
  3. Fix copyright for MethodType.java

    Signed-off-by: Peter Shipton <Peter_Shipton@ca.ibm.com>
    pshipton committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    7023c93 View commit details
    Browse the repository at this point in the history