Feature #1772: Add vm resize method to Java OCA