< prev index next >

src/java.desktop/windows/native/libawt/windows/awt_List.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1996, 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. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1996, 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
*** 317,327 **** * -- br 07/18/97. */ jobject AwtList::PreferredItemSize(JNIEnv *env) { jobject peer = GetPeer(env); ! jobject dimension = JNU_CallMethodByName(env, NULL, peer, "preferredSize", "(I)Ljava/awt/Dimension;", 1).l; DASSERT(!safe_ExceptionOccurred(env)); if (dimension == NULL) { --- 317,327 ---- * -- br 07/18/97. */ jobject AwtList::PreferredItemSize(JNIEnv *env) { jobject peer = GetPeer(env); ! jobject dimension = JNU_CallMethodByName(env, NULL, peer, "getPreferredSize", "(I)Ljava/awt/Dimension;", 1).l; DASSERT(!safe_ExceptionOccurred(env)); if (dimension == NULL) {
< prev index next >