Skip to content

Commit

Permalink
Fix return type of substituted method
Browse files Browse the repository at this point in the history
  • Loading branch information
olpaw committed Sep 19, 2023
1 parent 6a03e4d commit f104f39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ final class Target_jdk_internal_module_SystemModuleFinders_SystemImage_JRTEnable
static volatile Target_jdk_internal_jimage_ImageReader_JRTEnabled READER;

@Substitute
static Object reader() {
static Target_jdk_internal_jimage_ImageReader_JRTEnabled reader() {
Target_jdk_internal_jimage_ImageReader_JRTEnabled localRef = READER;
if (localRef == null) {
synchronized (Target_jdk_internal_module_SystemModuleFinders_SystemImage_JRTEnabled.class) {
Expand Down

0 comments on commit f104f39

Please sign in to comment.