JDK-8152098 : Fix 8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u102
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-03-17
  • Updated: 2016-07-21
  • Resolved: 2016-03-18
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 7 JDK 8
7u111Fixed 8u101Fixed
Related Reports
Relates :  
Description
Testsuite: Regression hotspot

The fix to JDK-8151522 caused test compiler/intrinsics/squaretolen/TestSquareToLen.java to fail.
Test compiler/intrinsics/squaretolen/TestSquareToLen.java fails with error:
Unrecognized VM option 'UseSquareToLenIntrinsic'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Most likely it is a test issue.
Comments
7u79 is also affected.
17-03-2016

Tests TestSquareToLen.java and MontgomeryMultiplyTest.java are missing -XX:+IgnoreUnrecognizedVMOptions flag. MontgomeryMultiplyTest.java does not fail because it runs only on platforms where flags are defined: @requires (os.simpleArch == "x64") & (os.family != "windows") But I would suggest to add IgnoreUnrecognizedVMOptions flag to it too to be consistent.
17-03-2016