8005782: get rid of javadoc errors, warnings in nashorn build

Reviewed-by: lagergren
5 files changed