Integrated: 8282120: optimal capacity tests and test library need to be cleaned up

Stuart Marks smarks at openjdk.java.net
Wed Apr 20 18:47:32 UTC 2022


On Tue, 19 Apr 2022 18:12:04 GMT, Stuart Marks <smarks at openjdk.org> wrote:

> The test `java/lang/Enum/ConstantDirectoryOptimalCapacity.java` was problem-listed by [JDK-8281631](https://bugs.openjdk.java.net/browse/JDK-8281631) and essentially superseded by [JDK-8186958](https://bugs.openjdk.java.net/browse/JDK-8186958). Given this, the test should simply be removed. This test is the only test that depends on a test library utility `test/lib/jdk/test/lib/util/OptimalCapacity.java` which has a number of issues of its own, so it should simply be removed as well.
> 
> See the bug report, in particular the comment
> 
> https://bugs.openjdk.java.net/browse/JDK-8282120?focusedCommentId=14489450&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14489450
> 
> for detailed discussion.

This pull request has now been integrated.

Changeset: b2c33f0f
Author:    Stuart Marks <smarks at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/b2c33f0f86174f5a8cf2229a3f766a2a8cff9d27
Stats:     355 lines in 3 files changed: 0 ins; 355 del; 0 mod

8282120: optimal capacity tests and test library need to be cleaned up

Reviewed-by: naoto

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

PR: https://git.openjdk.java.net/jdk/pull/8303


More information about the core-libs-dev mailing list