On Tue, 1 Dec 2026 09:28:47 GMT, xiaotaonan <[email protected]> wrote:

> This test is no longer relevant because JDK-8351413 removed the 
> DescriptorSupport(String inStr) constructor and toXMLString() method that it 
> was testing.
> 
> The test now invokes a different DescriptorSupport constructor that takes a 
> variable number of fields (DescriptorSupport(String... fields)), as confirmed 
> by the getFields() output:
> `<DESCRIPTOR><FIELD name="field1" value="dummy"></FIELD></DESCRIPTOR>
> `
> 
> Since the code under test has been removed, the test no longer provides any 
> coverage and should be deleted.
> 
> ---------
> - [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: 56183caa
Author:    Xiaotao NAN <[email protected]>
Committer: Serguei Spitsyn <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/56183caaf2e5ccfacd0bf4f6e4969025d88a247f
Stats:     64 lines in 1 file changed: 0 ins; 64 del; 0 mod

8375376: Remove redundant DescriptorSupportXMLLocaleTest.java

Reviewed-by: kevinw, sspitsyn, cjplummer

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

PR: https://git.openjdk.org/jdk/pull/34154

Reply via email to