On Thu, 16 Jul 2026 03:34:07 GMT, Ambarish Rapte <[email protected]> wrote:

> This is a very simple change for avoiding a warning repeated for 1570 times.
> 
> When JavaFX is built with `--info` gradle option, (`gradle --info` .... ).
> 1570 warnings are printed, like the one below here:
> 
> Cannot infer source root(s) for source `file 
> '/Users/runner/work/jfx/jfx/jfx/modules/javafx.graphics/src/main/java/javafx/css/Size.java'`.
>  Supported types are `File` (directories only), `DirectoryTree` and 
> `SourceDirectorySet`.
> 
> 
> **Fix**: is to change how the source directories are specified for graphics 
> module.
> 
> **Verification**: 
> 0 warnings of above type.
> The build artifacts are exact same as before, and sanity testing is all good.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: b61a8c9c
Author:    Ambarish Rapte <[email protected]>
URL:       
https://git.openjdk.org/jfx/commit/b61a8c9cdb49f16c9913d460af858f4230a4d9ef
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

8360587: Gradle Configuration message: Cannot infer source root(s) for source

Reviewed-by: mhanl, kcr

-------------

PR: https://git.openjdk.org/jfx/pull/2216

Reply via email to