Very simple fix/cleanup. webrev: http://cr.openjdk.java.net/~dholmes/8009426/webrev/
nashorn.jar was being added to the set of JARS targets regardless of what was being built, but nashorn is not a dependency for profiles target. JARS is not used the way it used to be now we have profiles and all jar files should simply be listed in the appropriate entry in profiles-includes.txt. There was a couple of other misplaced items too:
makefiles/CreateJars.gmk Removed nashorn and tzdb setting of JARS makefiles/Profiles.gmk Removed redundant listing of cldrdata.jar makefiles/profile-includes.txt Add nashorn to full JRE lists Thanks, David