On Thu, 26 Aug 2021 15:35:44 GMT, Paul Sandoz <psan...@openjdk.org> wrote:
> May i suggest that we add some JavaDoc to `ensureClassInitialized` describing > the two cases of the calling thread is the initialization thread or not. This is a good suggestion that also applies to `Lookup::ensureInitialized`. I created https://bugs.openjdk.java.net/browse/JDK-8273194 to improve the javadoc for `Lookup::ensureInitialized`. ------------- PR: https://git.openjdk.java.net/jdk/pull/5258