diff -r 02c08e20d66c -r 53aae0c219e6 test/langtools/tools/javac/modules/AddReadsTest.java --- a/test/langtools/tools/javac/modules/AddReadsTest.java Wed Apr 18 13:37:39 2018 -0400 +++ b/test/langtools/tools/javac/modules/AddReadsTest.java Wed Apr 18 16:02:53 2018 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2016, 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 @@ -352,7 +352,7 @@ .getOutput(Task.OutputKind.DIRECT); checkOutputContains(log, - "javac: no value for --add-reads option"); + "error: no value for --add-reads option"); } @Test @@ -421,7 +421,7 @@ .getOutput(Task.OutputKind.DIRECT); checkOutputContains(log, - "javac: bad value for --add-reads option: '" + option + "'"); + "error: bad value for --add-reads option: '" + option + "'"); } @Test @@ -572,7 +572,7 @@ .getOutput(Task.OutputKind.DIRECT); checkOutputContains(log, - "javac: bad value for --add-reads option: 'm1x:m2x'"); + "error: bad value for --add-reads option: 'm1x:m2x'"); } @Test