JDK-8304443 : bootcycle builds fail after JDK-8015831
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-03-18
  • Updated: 2023-08-21
  • Resolved: 2023-03-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b15Fixed
Related Reports
Relates :  
Description
The bootcycle builds in Tier4 are failing after the integration of:

JDK-8015831 Add lint check for calling overridable methods from a constructor

[2023-03-18T06:28:48,943Z] Compiling up to 17 files for BUILD_JAVAC_SERVER
[2023-03-18T06:28:52,219Z] Creating support/modules_libs/java.base/server/libjvm.dylib from 1049 file(s)
[2023-03-18T06:28:52,274Z] Creating hotspot/variant-server/libjvm/libgtest/libgtest.a from 2 file(s)
[2023-03-18T06:28:52,280Z] Creating hotspot/variant-server/libjvm/gtest/libjvm.dylib from 175 file(s)
[2023-03-18T06:28:52,287Z] Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s)
[2023-03-18T06:28:54,025Z] /System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S84887/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/98854c72-237e-4fe1-8dd9-821eebb06de3/runs/cc80c74b-064e-4d36-8935-94346610ef68/workspace/open/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java:145: warning: [this-escape] possible 'this' escape before subclass is fully initialized
[2023-03-18T06:28:54,025Z]         context.put(lintKey, this);
[2023-03-18T06:28:54,025Z]                              ^
[2023-03-18T06:28:54,025Z] error: warnings found and -Werror specified
[2023-03-18T06:29:03,504Z] 1 error
[2023-03-18T06:29:03,504Z] 1 warning
[2023-03-18T06:29:03,583Z] CompileInterimLangtools.gmk:123: recipe for target '/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S84887/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/98854c72-237e-4fe1-8dd9-821eebb06de3/runs/cc80c74b-064e-4d36-8935-94346610ef68/workspace/build/macosx-x64-bootcycle-prebuilt/buildtools/interim_langtools_modules/jdk.compiler.interim/_the.BUILD_jdk.compiler.interim_batch' failed
[2023-03-18T06:29:03,583Z] make[3]: *** [/System/Volumes/Data/mesos/work_dir/slaves/91e16c40-06d4-468a-9fc3-7198a5bb7d5a-S84887/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/98854c72-237e-4fe1-8dd9-821eebb06de3/runs/cc80c74b-064e-4d36-8935-94346610ef68/workspace/build/macosx-x64-bootcycle-prebuilt/buildtools/interim_langtools_modules/jdk.compiler.interim/_the.BUILD_jdk.compiler.interim_batch] Error 1
[2023-03-18T06:29:03,585Z] make/Main.gmk:78: recipe for target 'interim-langtools' failed
[2023-03-18T06:29:03,585Z] make[2]: *** [interim-langtools] Error 2
[2023-03-18T06:29:03,585Z] make[2]: *** Waiting for unfinished jobs....
[2023-03-18T06:35:20,344Z] 
[2023-03-18T06:35:20,344Z] ERROR: Build failed for target 'default (product-images)' in configuration 'macosx-x64-bootcycle-prebuilt' (exit code 2) 

This build failure occurred with the following profiles:
linux-aarch64-bootcycle-prebuilt, linux-x64-bootcycle-prebuilt,
linux-x64-bootcycle, macosx-x64-bootcycle-prebuilt, and
windows-x64-bootcycle-prebuilt.

Comments
It is fixed... Thanks, -Archie
17-08-2023

This fix is integrated in jdk-21+15-1205.
20-03-2023

Changeset: c396f1ed Author: Archie L. Cobbs <archie.cobbs@gmail.com> Committer: Vicente Romero <vromero@openjdk.org> Date: 2023-03-20 14:33:16 +0000 URL: https://git.openjdk.org/jdk/commit/c396f1ed8b91b799fdd6a9a849d7407e606227d5
20-03-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13089 Date: 2023-03-18 17:46:00 +0000
18-03-2023

Will do - thanks for the heads-up.
18-03-2023

[~acobbs] - Please take a look at these bootcycle build failures that started occurring after your fix for JDK-8015831.
18-03-2023