8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8019488: switch on literals result in NoSuchMethodError or VerifyErrorReviewed-by: hannesw