< prev index next >

test/tools/javac/diags/examples/NotInProfile.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2010, 2014, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** * or visit www.oracle.com if you need additional information or have any * questions. */ // key: compiler.err.not.in.profile ! // options: -profile compact1 class NotInProfile { Class<?> c = java.awt.Frame.class; } --- 20,29 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ // key: compiler.err.not.in.profile ! // options: --release 8 -profile compact1 class NotInProfile { Class<?> c = java.awt.Frame.class; }
< prev index next >