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). @kevinrushforth please take a look ------------- PR Comment: https://git.openjdk.org/jfx/pull/2216#issuecomment-4987885134
