--- a/test/langtools/tools/javac/modules/ProvidesTest.java Fri Feb 02 23:21:12 2018 +0530
+++ b/test/langtools/tools/javac/modules/ProvidesTest.java Fri Feb 02 07:43:54 2018 -0500
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -103,7 +103,7 @@
.writeAll()
.getOutput(Task.OutputKind.DIRECT);
- if (!log.contains("module-info.java:1:24: compiler.err.expected: 'with'"))
+ if (!log.contains("module-info.java:1:24: compiler.err.expected.str: 'with'"))
throw new Exception("expected output not found");
}