Alan,

It might not be a real "regression" if only consider the supported platforms
(and yes, the malloc manpageI can found does clearly indicate NULL is for error).
However I prefer to add some checks to make sure it behaves the same
(compared to before the #6728376 change went it), even on the "weird OS"
that Mario has. Anyway, a 0-length really malloc should not trigger a OOME.

http://cr.openjdk.java.net/~sherman/6858865/webrev

The webrev for #6728376 is at
http://cr.openjdk.java.net/~sherman/6728376/webrev

Thanks,
-Sherman


Reply via email to