Skip to content

Commit 9f77793

Browse files
committed
8332495: java/util/logging/LoggingDeadlock2.java fails with AssertionError: Some tests failed
Reviewed-by: jpai, stefank
1 parent fb45bab commit 9f77793

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/java/util/logging/LoggingDeadlock2.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006, 2023, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2006, 2024, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -309,7 +309,7 @@ private static ProcessResults run(Process p) {
309309
errAccumulator.join();
310310

311311
out = outAccumulator.result();
312-
err = errAccumulator.result();
312+
err = errAccumulator.result().replaceAll(".* VM warning:.* deprecated.*\\R", "");
313313
} catch (Throwable t) {
314314
throwable = t;
315315
}

0 commit comments

Comments
 (0)