From 0de8ad6913565b91efb831176d21a5b100011032 Mon Sep 17 00:00:00 2001 From: JoeWang-Java Date: Fri, 24 May 2024 05:23:14 +0000 Subject: [PATCH] add a template instead of a property file; remove implNote; update test and make script accordingly. --- make/modules/java.xml/Copy.gmk | 5 +-- src/java.xml/share/classes/module-info.java | 35 +------------------ ...strict.properties => jaxp-strict.template} | 17 +++++---- .../common/config/ConfigFileTest.java | 24 ++++++++----- .../jaxp/unittest/common/util/TestBase.java | 5 +-- 5 files changed, 32 insertions(+), 54 deletions(-) rename src/java.xml/share/conf/{jaxp-strict.properties => jaxp-strict.template} (87%) diff --git a/make/modules/java.xml/Copy.gmk b/make/modules/java.xml/Copy.gmk index d2b768182ad75..e4af290c65c2a 100644 --- a/make/modules/java.xml/Copy.gmk +++ b/make/modules/java.xml/Copy.gmk @@ -28,11 +28,12 @@ include Modules.gmk ################################################################################ # -# Copy property files from share/conf to CONF_DST_DIR +# Copy property file and template from share/conf to CONF_DST_DIR # $(eval $(call SetupCopyFiles, COPY_XML_MODULE_CONF, \ DEST := $(CONF_DST_DIR), \ - FILES := $(wildcard $(TOPDIR)/src/java.xml/share/conf/jaxp*.properties*), \ + SRC := $(TOPDIR)/src/java.xml/share/conf, \ + FILES := jaxp.properties jaxp-strict.template, \ )) TARGETS += $(COPY_XML_MODULE_CONF) diff --git a/src/java.xml/share/classes/module-info.java b/src/java.xml/share/classes/module-info.java index 3ab14c287cd75..78ae956151906 100644 --- a/src/java.xml/share/classes/module-info.java +++ b/src/java.xml/share/classes/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -402,13 +402,6 @@ * @implNote * *