--- old/src/java.desktop/windows/native/libawt/windows/awt_List.cpp 2018-04-01 22:04:42.000000000 -0700 +++ new/src/java.desktop/windows/native/libawt/windows/awt_List.cpp 2018-04-01 22:04:42.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -319,7 +319,7 @@ jobject AwtList::PreferredItemSize(JNIEnv *env) { jobject peer = GetPeer(env); - jobject dimension = JNU_CallMethodByName(env, NULL, peer, "preferredSize", + jobject dimension = JNU_CallMethodByName(env, NULL, peer, "getPreferredSize", "(I)Ljava/awt/Dimension;", 1).l;