--- old/src/java.desktop/windows/native/libawt/windows/awt_List.h 2018-11-05 21:01:23.806871042 +0530 +++ new/src/java.desktop/windows/native/libawt/windows/awt_List.h 2018-11-05 21:01:23.354645042 +0530 @@ -27,7 +27,7 @@ #define AWT_LIST_H #include "awt_Component.h" - +#include #include "sun_awt_windows_WListPeer.h" @@ -37,6 +37,7 @@ class AwtList : public AwtComponent { public: + const UINT max_index = std::pow(2, (sizeof(WORD) * 8)) - 1; AwtList(); virtual ~AwtList();