8007132: Java objects returned from constructor functions are lostReviewed-by: hannesw, lagergren, attila