JDK-8293318 : bootcycle build failures starting in jdk-20+14-879-tier4
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 20
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-09-02
  • Updated: 2022-09-02
  • Resolved: 2022-09-02
Related Reports
Relates :  
Description
Tier4 is reporting build failures in the bootcycle build tasks:

[2022-09-02T03:31:45,013Z] Compiling 186 files for BUILD_TOOLS_JDK
[2022-09-02T03:31:45,076Z] warning: [options] source value 8 is obsolete and will be removed in a future release
[2022-09-02T03:31:45,076Z] warning: [options] target value 8 is obsolete and will be removed in a future release
[2022-09-02T03:31:45,078Z] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[2022-09-02T03:31:45,398Z] error: warnings found and -Werror specified
[2022-09-02T03:31:45,400Z] 1 error
[2022-09-02T03:31:45,400Z] 3 warnings
[2022-09-02T03:31:45,430Z] JrtfsJar.gmk:49: recipe for target '/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S78473/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f69b76fd-db64-40f7-8d17-c54d78ce5de2/runs/b92820cf-d900-4d5f-9e9c-fa477cc6afe2/workspace/build/macosx-x64-bootcycle-prebuilt/support/jrtfs_classes/_the.BUILD_JRTFS_batch' failed
[2022-09-02T03:31:45,430Z] make[3]: *** [/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S78473/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f69b76fd-db64-40f7-8d17-c54d78ce5de2/runs/b92820cf-d900-4d5f-9e9c-fa477cc6afe2/workspace/build/macosx-x64-bootcycle-prebuilt/support/jrtfs_classes/_the.BUILD_JRTFS_batch] Error 1

jdk-20+14-879-tier4 includes the following fix:

JDK-8173605 Remove support for source and target 1.7 option in javac

so I'm wondering if that fix includes a change in obsoletion
status for the source and target 1.8 option.

I'm starting this bug at priority P2 since this appears to
be a regression due to JDK-8173605.
Comments
Looks to be a duplicate of JDK-8293288.
02-09-2022

[~dcubed], yes use of -source/-target/--release 8 now emits a warning. It can be suppressed using -Xlint:-options. I'll take a look later today.
02-09-2022

[~darcy] - Can you take a look at theseTier4 build failures? The fix for this bug: JDK-8173605 Remove support for source and target 1.7 option in javac mentions: > As part of this work, the 1.8/8 option should be deprecated. and that change appears to be causing the "bootcycle" builds to fail.
02-09-2022