< prev index next >
src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2000, 2015, 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. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2000, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 47,57 ****
typedef jint JNICALL JNI_OnLoad_type(JavaVM *vm, void *reserved);
/* Initialize the Java VM instance variable when the library is
first loaded */
! JavaVM *jvm;
JNIEXPORT jboolean JNICALL AWTIsHeadless() {
static JNIEnv *env = NULL;
static jboolean isHeadless;
jmethodID headlessFn;
--- 47,57 ----
typedef jint JNICALL JNI_OnLoad_type(JavaVM *vm, void *reserved);
/* Initialize the Java VM instance variable when the library is
first loaded */
! JNIEXPORT JavaVM *jvm;
JNIEXPORT jboolean JNICALL AWTIsHeadless() {
static JNIEnv *env = NULL;
static jboolean isHeadless;
jmethodID headlessFn;
< prev index next >