diff --git a/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java b/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java index 36054ae6e4bbe72e54bdd5e41bd0f22947c18453..0b6eaa69629cb342b3a942f3a02871c5f16f5b65 100644 --- a/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java +++ b/src/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java @@ -1299,7 +1299,7 @@ public class LambdaToMethod extends TreeTranslator { buf.append(owner.name); buf.append('$'); int methTypeHash = methodSig(owner.type).hashCode(); - buf.append(methTypeHash); + buf.append(Integer.toHexString(methTypeHash)); buf.append('$'); String temp = buf.toString(); Integer count = serializableLambdaCounts.get(temp);