Skip to content

Commit

Permalink
Merge pull request apache#7247 from mbien/use-release-flag
Browse files Browse the repository at this point in the history
Use javac release option where possible
  • Loading branch information
mbien authored May 24, 2024
2 parents 66c7486 + 2b114b3 commit b6cf63e
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 50 deletions.
3 changes: 1 addition & 2 deletions cpplite/cpplite.editor/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
# specific language governing permissions and limitations
# under the License.

javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
2 changes: 1 addition & 1 deletion enterprise/cloud.oracle/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ release.external/resilience4j-circuitbreaker-1.7.1.jar=modules/ext/resilience4j-
release.external/resilience4j-core-1.7.1.jar=modules/ext/resilience4j-core-1.7.1.jar
release.external/vavr-0.10.2.jar=modules/ext/vavr-0.10.2.jar
release.external/vavr-match-0.10.2.jar=modules/ext/vavr-match-0.10.2.jar
javac.source=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
spec.version.base.fatal.warning=false
3 changes: 1 addition & 2 deletions enterprise/glassfish.common/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.

javac.compilerargs=-Xlint -Xlint:-serial
javac.source=11
javac.target=11
javac.release=11

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
3 changes: 1 addition & 2 deletions enterprise/glassfish.eecommon/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.
is.autoload=true
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
spec.version.base=1.62.0

Expand Down
3 changes: 1 addition & 2 deletions enterprise/glassfish.javaee/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.
javac.compilerargs=-Xlint -Xlint:-serial
javac.source=11
javac.target=11
javac.release=11

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
3 changes: 1 addition & 2 deletions enterprise/glassfish.tooling/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
3 changes: 1 addition & 2 deletions ide/git/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.
javac.compilerargs=-Xlint:unchecked
javac.source=11
javac.target=11
javac.release=11
nbm.homepage=http://netbeans.org/projects/versioncontrol/pages/Git_main
nbm.module.author=Ondrej Vrabec
nbm.needs.restart=true
Expand Down
3 changes: 1 addition & 2 deletions ide/languages.hcl/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
javac.source=17
javac.target=17
javac.release=17

3 changes: 1 addition & 2 deletions ide/libs.git/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

is.autoload=true

javac.source=11
javac.target=11
javac.release=11

javadoc.arch=${basedir}/arch.xml
javadoc.apichanges=${basedir}/apichanges.xml
Expand Down
3 changes: 1 addition & 2 deletions ide/o.n.swing.dirchooser/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
javac.source=11
javac.target=11
javac.release=11
javadoc.arch=${basedir}/arch.xml
3 changes: 1 addition & 2 deletions ide/versioning.util/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.

javac.compilerargs=-Xlint:unchecked
javac.source=11
javac.target=11
javac.release=11

javadoc.name=Versioning Support Utilities
spec.version.base=2.1.0
Expand Down
3 changes: 1 addition & 2 deletions java/gradle.java/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.

is.autoload=true
javac.source=17
javac.target=17
javac.release=17
javac.compilerargs=-Xlint -Xlint:-serial
nbm.module.author=Laszlo Kishalmi
javadoc.arch=${basedir}/arch.xml
Expand Down
3 changes: 1 addition & 2 deletions java/java.disco/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ is.autoload=true
release.external/checker-qual-3.9.1.jar=modules/ext/checker-qual-3.9.1.jar
release.external/jdktools-11.0.11.jar=modules/ext/jdktools-11.0.11.jar
release.external/discoclient-2.0.24.jar=modules/ext/discoclient-2.0.24.jar
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
3 changes: 1 addition & 2 deletions java/jshell.support/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.

javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
spec.version.base=1.25.0
is.eager=true
3 changes: 1 addition & 2 deletions java/maven.checkstyle/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
3 changes: 1 addition & 2 deletions java/maven.hints/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.

is.eager=true
javac.source=11
javac.target=11
javac.release=11
#javac.compilerargs=-Xlint -Xlint:-serial

test.config.stableBTD.includes=**/*Test.class
Expand Down
3 changes: 1 addition & 2 deletions java/maven.indexer.ui/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# under the License.

is.autoload=true
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial

3 changes: 1 addition & 2 deletions java/maven.indexer/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

test.config.stableBTD.includes=**/*Test.class
is.autoload=true
javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
release.external/indexer-core-7.1.2.jar=modules/ext/maven/indexer-core-7.1.2.jar
release.external/search-api-7.1.2.jar=modules/ext/maven/search-api-7.1.2.jar
Expand Down
2 changes: 1 addition & 1 deletion java/maven/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test.config.stableBTD.excludes=\

jnlp.indirect.files=maven-nblib/netbeans-eventspy.jar,maven-nblib/netbeans-cos.jar

# TODO remove after JDK 17 bump (code uses CompilationUnitTree#getModule)
# build needs CompilationUnitTree#getModule (jdk17) and ModuleInfoSupportTest needs functioning nb-javac
requires.nb.javac=true

test-unit-sys-prop.test.netbeans.dest.dir=${netbeans.dest.dir}
3 changes: 1 addition & 2 deletions nb/ide.dashboard/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@
# under the License.

javac.compilerargs=-Xlint:unchecked
javac.source=17
javac.target=17
javac.release=17

3 changes: 1 addition & 2 deletions nb/o.n.upgrader/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.

javac.compilerargs=-Xlint:unchecked
javac.source=11
javac.target=11
javac.release=11
module.jar.dir=core

javadoc.arch=${basedir}/arch.xml
Expand Down
3 changes: 1 addition & 2 deletions platform/api.dashboard/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# under the License.
is.autoload=true
javac.compilerargs=-Xlint:unchecked
javac.source=17
javac.target=17
javac.release=17
# javadoc.arch=${basedir}/arch.xml
# javadoc.apichanges=${basedir}/apichanges.xml

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.

javac.source=11
javac.target=11
javac.release=11
javadoc.arch=${basedir}/arch.xml

is.eager=true
Expand Down
3 changes: 1 addition & 2 deletions webcommon/javascript.cdtdebug/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.

javac.source=11
javac.target=11
javac.release=11
javadoc.arch=${basedir}/arch.xml

is.autoload=true
Expand Down
3 changes: 1 addition & 2 deletions webcommon/javascript2.editor/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
# specific language governing permissions and limitations
# under the License.

javac.source=11
javac.target=11
javac.release=11
javac.compilerargs=-Xlint -Xlint:-serial
javadoc.arch=${basedir}/arch.xml
nbm.needs.restart=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@

is.autoload=true
javac.compilerargs=-Xlint:unchecked
javac.source=11
javac.target=11
javac.release=11

#javadoc.apichanges=${basedir}/apichanges.xml
#javadoc.arch=${basedir}/arch.xml

0 comments on commit b6cf63e

Please sign in to comment.