PS. Piggybacking a sample script - getclassnpe.js - to detect obj.getClass() call for null checks. Ran that on nashorn code and fixed one more such instance which got missed in the last clean-up with JDK-8072595
Thanks, -Sundar
PS. Piggybacking a sample script - getclassnpe.js - to detect obj.getClass() call for null checks. Ran that on nashorn code and fixed one more such instance which got missed in the last clean-up with JDK-8072595
Thanks, -Sundar