--- old/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c 2020-03-02 01:41:50.753845100 -0800 +++ new/src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c 2020-03-02 01:41:50.329749900 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2020, 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,6 +22,11 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ + +#ifdef HEADLESS + #error This file should not be included in headless library +#endif + #include #include #include