8200261: Regression with JVM anonymous class

Restore resolved anonymous class when creating a new constantpool because of overpass methods

Reviewed-by: coleenp, lfoltan
4 files changed