OpenJDK / jdk / jdk10
changeset 29340:e5ee51840b93
8073624: Fix waring "converting to non-pointer type 'bool' from NULL" in arraycopynode.cpp
Reviewed-by: roland
author | simonis |
---|---|
date | Mon, 23 Feb 2015 10:32:17 +0100 |
parents | f0b1b7788a51 |
children | a7f66737bf1d |
files | hotspot/src/share/vm/opto/arraycopynode.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/share/vm/opto/arraycopynode.cpp Mon Feb 23 10:38:26 2015 +0100 +++ b/hotspot/src/share/vm/opto/arraycopynode.cpp Mon Feb 23 10:32:17 2015 +0100 @@ -455,7 +455,7 @@ if (in(TypeFunc::Control) != ctl) { // we can't return new memory and control from Ideal at parse time assert(!is_clonebasic(), "added control for clone?"); - return NULL; + return false; } } return true;