--- old/test/langtools/tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java 2018-06-20 01:17:56.100307046 -0400 +++ new/test/langtools/tools/javac/processing/model/completionfailure/NoAbortForBadClassFile.java 2018-06-20 01:17:54.524216249 -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()