langtools/test/tools/javac/modules/ModuleInfoTest.java
changeset 43756 118221d3960d
parent 42822 a84956e7ee4d
child 43864 fc233ac29255
--- a/langtools/test/tools/javac/modules/ModuleInfoTest.java	Tue Feb 07 13:45:29 2017 -0800
+++ b/langtools/test/tools/javac/modules/ModuleInfoTest.java	Wed Feb 08 06:43:34 2017 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, 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
@@ -94,7 +94,7 @@
                 .writeAll()
                 .getOutput(Task.OutputKind.DIRECT);
 
-        if (!log.contains("module-info.java:1:8: compiler.err.class.public.should.be.in.file: C"))
+        if (!log.contains("module-info.java:1:8: compiler.err.class.public.should.be.in.file: kindname.class, C"))
             throw new Exception("expected output not found");
     }