On Wed, 15 Mar 2023 08:44:34 GMT, Adam Sotona <asot...@openjdk.org> wrote:
> Massive parallel execution of parametrised CorpusTest junit tests revealed > race condition in > `ClassHierarchyImpl.CachedClassHierarchyResolver::getClassInfo`. > > The race condition may skip calculation of the ClassHierarchyInfo. In this > specific case it caused SegmentScope not being identified as an interface and > verify error on assignability between declared method return type and actual > returned type has been emitted by the test. > > Proposed patch fixes the race condition in > `ClassHierarchyImpl.CachedClassHierarchyResolver::getClassInfo`. > > Please review. > > Thank you, > Adam This pull request has now been integrated. Changeset: b2639e1d Author: Adam Sotona <asot...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/b2639e1d6246a7e1aab1d9d15add7979adf40766 Stats: 9 lines in 1 file changed: 6 ins; 0 del; 3 mod 8304164: jdk/classfile/CorpusTest.java still fails after JDK-8303910 Reviewed-by: jpai ------------- PR: https://git.openjdk.org/jdk/pull/13037