+1. This looks very nice, Hannes. /M On 13 Oct 2014, at 15:22, Hannes Wallnoefer <[email protected]> wrote:
> Please review JDK-8060011: Concatenating an array and converting it to Java > gives wrong result: > > http://cr.openjdk.java.net/~hannesw/8060011/ > > Note that in addition to fixing the actual bug, the webrev lowers the maximum > for various java array index operations from Integer.MAX_VALUE to > (Integer.MAX_VALUE - 1). I'm pretty sure this is correct, but given that > various VMs have lower maximum array sizes and would throw OOM with common > heap sizes, it seems impossible to write a practical test for this. > > Hannes
