On 06/19/2018 03:30 AM, David Holmes wrote: > I've filed: > > https://bugs.openjdk.java.net/browse/JDK-8205201 > > for the underlying issue. Hotspot folk need to check if the warnings are > legitmate or not. If not then we may need to disable this warning in the > build.
The warnings are legitimate: it's unnecessarily hairy code. It could easily be rewritten to use memcpy(), would be obviously guaranteed not to exceed array bounds, and might even be slightly faster. Fixing these warnings is an opportunity to clean up some of this code. -- Andrew Haley Java Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
