On Thu, 21 Apr 2022 12:19:20 GMT, Stefan Karlsson <stef...@openjdk.org> wrote:

> had hoped to fine a way to just get rid of it instead of finding a better 
> name.

`vmClasses::Reference_klass()->set_reference_type(REF_SOFT);` works. In fact, 
anything other than `REF_NONE` works. The correct ref-type for each subclass of 
`Reference` will be set later on in `vmClasses::resolve_all`. Do you think that 
is better?

-------------

PR: https://git.openjdk.java.net/jdk/pull/8332

Reply via email to