jdk/src/java.base/macosx/native/libjli/java_md_macosx.c
changeset 28771 2885fb2e1002
parent 27938 7f7f8bf64dd7
child 29742 b73f38796859
equal deleted inserted replaced
28770:b74a583c3125 28771:2885fb2e1002
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  1057  * ShowSplashScreen, as there is a callback into the JLI_GetJavaVMInstance.
  1057  * ShowSplashScreen, as there is a callback into the JLI_GetJavaVMInstance.
  1058  */
  1058  */
  1059 void PostJVMInit(JNIEnv *env, jstring mainClass, JavaVM *vm) {
  1059 void PostJVMInit(JNIEnv *env, jstring mainClass, JavaVM *vm) {
  1060     jvmInstance = vm;
  1060     jvmInstance = vm;
  1061     SetMainClassForAWT(env, mainClass);
  1061     SetMainClassForAWT(env, mainClass);
       
  1062     CHECK_EXCEPTION_RETURN();
  1062     ShowSplashScreen();
  1063     ShowSplashScreen();
  1063 }
  1064 }
  1064 
  1065 
  1065 jboolean
  1066 jboolean
  1066 ProcessPlatformOption(const char* arg)
  1067 ProcessPlatformOption(const char* arg)