Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/src/solaris/native/sun/awt/initIDs.c
32287 views
/*1* Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425#include "java_awt_Color.h"26#include "java_awt_Dimension.h"27#include "java_awt_MenuBar.h"28#include "java_awt_FontMetrics.h"29#include "java_awt_event_MouseEvent.h"30#include "java_awt_Rectangle.h"31#include "java_awt_ScrollPaneAdjustable.h"32#include "java_awt_Toolkit.h"33#include "java_awt_CheckboxMenuItem.h"3435#include "jni_util.h"3637/*38* This file contains stubs for JNI field and method id initializers39* which are used in the win32 awt.40*/4142jfieldID colorValueID;4344JNIEXPORT void JNICALL45Java_java_awt_Color_initIDs46(JNIEnv *env, jclass clazz)47{48colorValueID = (*env)->GetFieldID(env, clazz, "value", "I");49}5051JNIEXPORT void JNICALL52Java_java_awt_MenuBar_initIDs53(JNIEnv *env, jclass clazz)54{55}5657JNIEXPORT void JNICALL58Java_java_awt_Label_initIDs59(JNIEnv *env, jclass clazz)60{61}6263JNIEXPORT void JNICALL64Java_java_awt_FontMetrics_initIDs65(JNIEnv *env, jclass clazz)66{67}6869JNIEXPORT void JNICALL70Java_java_awt_Toolkit_initIDs71(JNIEnv *env, jclass clazz)72{73}7475JNIEXPORT void JNICALL76Java_java_awt_ScrollPaneAdjustable_initIDs77(JNIEnv *env, jclass clazz)78{79}8081JNIEXPORT void JNICALL82Java_java_awt_CheckboxMenuItem_initIDs83(JNIEnv *env, jclass clazz)84{85}8687JNIEXPORT void JNICALL88Java_java_awt_Choice_initIDs89(JNIEnv *env, jclass clazz)90{91}9293JNIEXPORT void JNICALL94Java_java_awt_Dimension_initIDs95(JNIEnv *env, jclass clazz)96{97}9899JNIEXPORT void JNICALL100Java_java_awt_Rectangle_initIDs101(JNIEnv *env, jclass clazz)102{103}104105JNIEXPORT void JNICALL106Java_java_awt_event_MouseEvent_initIDs107(JNIEnv *env, jclass clazz)108{109}110111112