Hello,
Please review this small fix for jdk9/dev repo.
It updates imageFile.cpp to use delete[] operator together with new[].
It also adds a check to ImageLocation::set_data(u1*) method to prevent a
possible null-dereference.
Bug: https://bugs.openjdk.java.net/browse/JDK-8140649
Webrev:
+1
> On Nov 2, 2015, at 9:30 AM, Artem Smotrakov
> wrote:
>
> Hello,
>
> Please review this small fix for jdk9/dev repo.
>
> It updates imageFile.cpp to use delete[] operator together with new[]. It
> also adds a check to ImageLocation::set_data(u1*) method to