JDK-8252782 : Enable javac lint option: missing-explicit-ctor
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: jfx17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2020-09-03
  • Updated: 2024-03-04
  • Resolved: 2024-03-04
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
Once we upgrade the boot JDK to JDK 16 (perhaps soon after it ships in March 2021), we should enable the missing-explicit-ctor lint option by default for JavaFX builds. See JDK-8250558 for how to enable it locally in the mean time.

This will prevent constructors from showing up without API docs, and allow us to avoid problems such as JDK-8229472 and JDK-8252387.