FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
We do that to perform the same serverside validation as in the webpage.
There is a sample repository at
which contains a unit test https://github.com/bripkens/nashorn-pw-check-example/blob/master/src/test/java/de/codecentric/StrengthCheckerTest.java
This unit test takes about 7 seconds to complete when run with a java 8 u 20.
Running it with 8u40 or 9ea spins forever in internal Nashorn code.
While it is possible tht this behaviour is triggered by the zxcvb library, as a user, I consider it to be a regression when it worked in u20 and no longer works in u40.
REGRESSION. Last worked in version 8u40
ADDITIONAL REGRESSION INFORMATION:
worked in u20, does NOT work in u40 (the select box does not allow this combination)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
clone the repo. run maven install with the desired jvms, or run mvn eclipse:eclipse and try to run from eclipse with the given jdks.
EXPECTED VERSUS ACTUAL BEHAVIOR :
unit tests pass.
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
---------- END SOURCE ----------