8199342 The constant pool forgets it has a Dynamic entry if there are overpass methods

Lois Foltan lois.foltan at oracle.com
Fri Mar 9 18:59:43 UTC 2018


Looks good Paul!
Lois

On 3/8/2018 8:45 PM, Paul Sandoz wrote:
> Hi,
>
> Please review the following patch:
>
> http://cr.openjdk.java.net/~psandoz/jdk/JDK-8199342-constant-dynamic-and-overpass-methods/webrev/ 
> <http://cr.openjdk.java.net/%7Epsandoz/jdk/JDK-8199342-constant-dynamic-and-overpass-methods/webrev/>
>
> This fixes a crash due to an assert with debug builds.
>
> On class initialization we set a flag if the constant pool contains a 
> Dynamic entry. If the class file is an interface and there are 
> overpass methods then parts the constant pool gets re-written by 
> copying the old pool to a new pool, but that process does not copy 
> over the flag.
>
> Thanks,
> Paul.



More information about the hotspot-dev mailing list