--- old/src/hotspot/share/ci/ciArray.cpp 2019-09-11 09:49:06.726502941 -0400 +++ new/src/hotspot/share/ci/ciArray.cpp 2019-09-11 09:49:06.435927146 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2019, 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 @@ -37,7 +37,7 @@ // This class represents an arrayOop in the HotSpot virtual // machine. static BasicType fixup_element_type(BasicType bt) { - if (bt == T_ARRAY) return T_OBJECT; + if (is_reference_type(bt)) return T_OBJECT; if (bt == T_BOOLEAN) return T_BYTE; return bt; }