Skip to content

Commit a4e5451

Browse files
8371087: Remove unused dependency on jdk.unsupported from javafx.graphics
8179462: Remove obsolete -XDignore.symbol.file flag from build Reviewed-by: mhanl, arapte
1 parent c77c233 commit a4e5451

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4519,7 +4519,7 @@ allprojects {
45194519

45204520
compile.options.forkOptions.executable = JAVAC
45214521

4522-
compile.options.compilerArgs += ["-XDignore.symbol.file", "-encoding", "UTF-8"]
4522+
compile.options.compilerArgs += ["-encoding", "UTF-8"]
45234523
compile.options.compilerArgs += [ "-Xmaxerrs", "1000" ]
45244524

45254525
// we use a custom javadoc command
@@ -4826,7 +4826,6 @@ task javadoc(type: Javadoc, dependsOn: [createMSPfile, createOverviewFile]) {
48264826
} else {
48274827
options.links(JDK_DOCS);
48284828
}
4829-
options.addBooleanOption("XDignore.symbol.file").setValue(true);
48304829
options.addBooleanOption("Xdoclint:${DOC_LINT}").setValue(IS_DOC_LINT);
48314830
options.addBooleanOption("Werror").setValue(IS_DOC_WERROR);
48324831
options.addBooleanOption("html5").setValue(true);

modules/javafx.graphics/src/main/java/module-info.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2024, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -42,7 +42,6 @@
4242
module javafx.graphics {
4343
requires java.desktop;
4444
requires java.xml;
45-
requires jdk.unsupported;
4645

4746
requires transitive javafx.base;
4847

0 commit comments

Comments
 (0)