--- old/test/tools/javac/diags/examples/NotInProfile.java 2016-12-15 09:20:06.749810155 +0000 +++ new/test/tools/javac/diags/examples/NotInProfile.java 2016-12-15 09:20:06.642802835 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2016, 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 @@ -22,7 +22,7 @@ */ // key: compiler.err.not.in.profile -// options: -profile compact1 +// options: --release 8 -profile compact1 class NotInProfile { Class c = java.awt.Frame.class;