changeset 5888:f1d080662bf3 it2-bootstrap

add 'return this;'
author mduigou
date Fri, 31 Aug 2012 22:39:24 -0700
parents f94f4135cf68
children c9630c23e453
files src/share/classes/java/lang/invoke/SerializedLambda.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/lang/invoke/SerializedLambda.java	Fri Aug 31 18:51:28 2012 -0700
+++ b/src/share/classes/java/lang/invoke/SerializedLambda.java	Fri Aug 31 22:39:24 2012 -0700
@@ -60,10 +60,11 @@
     }
 
     private Object readResolve() {
-        // @@@ 
+        // @@@
         //  - load the capturing class
         //  - pass 'this' to $deserialize$, using some privileged magic
         //  - return whatever that returns
+        return this;
     }
 
     private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException {