RFR: 8284853: Fix varios 'expected' typo

Chris Plummer cjplummer at openjdk.java.net
Wed Apr 13 22:45:18 UTC 2022


On Wed, 13 Apr 2022 20:36:48 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:

> Found various typos of expected: `exepected`, `exept`, `epectedly`, `expeced`, `Unexpeted`, etc.

test/jdk/java/lang/StackWalker/StackStreamTest.java line 218:

> 216:     private static <T> void equalsOrThrow(String label, List<T> list, List<T> expected) {
> 217:         System.out.println("List:     " + list);
> 218:         System.out.println("Expected: " + list);

I think there is a per-existing bug here. Shouldn't the second println print `expected` instead of `list`?

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

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



More information about the security-dev mailing list