Skip to content

Commit

Permalink
Backport d82ade354570a930d8282684a8ffd368c613defc Remove new fields b…
Browse files Browse the repository at this point in the history
…y JDK-8310047
  • Loading branch information
amosshi committed Aug 8, 2024
1 parent df120a5 commit 4627161
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/jdk/java/nio/charset/StandardCharsets/Standard.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ public class Standard {
// These are the charsets StandardCharsets.java is expected to contain.
private static final String[] expectedCharsets = {
"US-ASCII", "ISO-8859-1", "UTF-8",
"UTF-16BE", "UTF-16LE", "UTF-16",
"UTF-32BE", "UTF-32LE", "UTF-32"
"UTF-16BE", "UTF-16LE", "UTF-16"
};

private static final Field[] standardCharsetFields =
Expand Down Expand Up @@ -136,10 +135,7 @@ private static Stream<Arguments> charsetProvider() {
Arguments.of(StandardCharsets.UTF_8, "UTF-8"),
Arguments.of(StandardCharsets.UTF_16BE, "UTF-16BE"),
Arguments.of(StandardCharsets.UTF_16LE, "UTF-16LE"),
Arguments.of(StandardCharsets.UTF_16, "UTF-16"),
Arguments.of(StandardCharsets.UTF_32BE, "UTF-32BE"),
Arguments.of(StandardCharsets.UTF_32LE, "UTF-32LE"),
Arguments.of(StandardCharsets.UTF_32, "UTF-32")
Arguments.of(StandardCharsets.UTF_16, "UTF-16")
);
}

Expand Down

0 comments on commit 4627161

Please sign in to comment.