7016261: JSR 292 MethodType objects should be serializable
Summary: Define private writeObject, readObject, and readResolve methods. Also add unit tests.
Reviewed-by: twisti
^build/
^dist/
/nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/