Apple is not ditching Java. They are letting subsequent development of the JVM and JDK take place where it does for everyone else. With all the devs using Java on the mac, what possible reason would Oracle have to not support it?
$0 in it for Oracle seems to be a compelling reason not to support it.
OBVIOUSLY Apple is expecting Oracle to continue the development of Java for the mac.
But it seems they didn't bother with actually talking to Oracle about this so Apple would be able to communicate to its customers that Oracle was taking over.