JDK-8080471 : fix usage of replace and file separator in Nashorn tests
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u60,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-05-15
  • Updated: 2015-09-29
  • Resolved: 2015-05-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60 b18Fixed 9Fixed
Description
Two tests (JDK-8050964.js, JDK-8055034.js) contain code like this: "s.replaceAll(/\//g, File.separater)". Instead of replaceAll, replace must be called (replaceAll is a Java method that does not accept a JS regex). File.separater is a typo; it must be File.separator.
Comments
Thanks, Sean.
15-05-2015

Michael - fix versions should only have one value on all JBS bugs. Create backports for separate release values. No further action required here though. We'll use the master bug record for the 8u60 push.
15-05-2015