8277606: String(String) constructor could copy hashIsZero

Reviewed-by: redestad, rriggs
This commit is contained in:
Petr Portnov 2021-11-30 20:50:13 +00:00 committed by Roger Riggs
parent 5a4a9bb9d5
commit e30e676709

View file

@ -261,6 +261,7 @@ public final class String
this.value = original.value;
this.coder = original.coder;
this.hash = original.hash;
this.hashIsZero = original.hashIsZero;
}
/**