JDK-8337328 : JavaFX build uses deprecated features that will be removed in gradle 9
  • Type: Bug
  • Component: javafx
  • Sub-Component: build
  • Affected Version: 8,jfx24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-07-29
  • Updated: 2024-09-12
  • Resolved: 2024-09-11
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.
Other
jfx24 b09Fixed
Related Reports
Cloners :  
Description
We get several deprecation warnings from gradle when building the latest jfx repo. These are all deprecated in gradle 9. We will need to address them before we can update beyond gradle 9.

To reproduce them, run the following:

$ gradle --warning-mode all all

Comments
Changeset: 463fdab5 Branch: master Author: Ambarish Rapte <arapte@openjdk.org> Date: 2024-09-11 03:54:35 +0000 URL: https://git.openjdk.org/jfx/commit/463fdab5cffe88c6f8ce5465795d579d45342fac
11-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1559 Date: 2024-09-09 16:47:21 +0000
09-09-2024

Following two Gradle 9.0 related deprecation warnings are observed: The org.gradle.api.plugins.JavaPluginConvention type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.9/userguide/upgrading_version_8.html#java_convention_deprecation The automatic loading of test framework implementation dependencies has been deprecated. This is scheduled to be removed in Gradle 9.0. Declare the desired test framework directly on the test suite or explicitly declare the test framework implementation dependencies on the test's runtime classpath. Consult the upgrading guide for further information: https://docs.gradle.org/8.9/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
09-09-2024