--- old/test/langtools/tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java 2018-05-18 03:27:29.923225223 -0400 +++ new/test/langtools/tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java 2018-05-18 03:27:28.011114452 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2017, 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 @@ -121,6 +121,7 @@ new toolbox.JavacTask(tb) .outdir(out) + .options("-source", "10", "-target", "10") .files(tb.findJavaFiles(src)) .run(Expect.SUCCESS) .writeAll()