[TestBug] RFR : JDK-8192909 - Invalid username or password in HashedPasswordFileTest.java

Langer, Christoph christoph.langer at sap.com
Tue Dec 5 05:59:00 UTC 2017


Hi Harsha,

this looks good to me.

Small finding: Line 366, there could be a space between if and (.

Best regards
Christoph

> -----Original Message-----
> From: serviceability-dev [mailto:serviceability-dev-
> bounces at openjdk.java.net] On Behalf Of Harsha Wardhana B
> Sent: Montag, 4. Dezember 2017 19:28
> To: serviceability-dev at openjdk.java.net
> Subject: [TestBug] RFR : JDK-8192909 - Invalid username or password in
> HashedPasswordFileTest.java
> 
> Hi All,
> 
> Please review and provide comments for fix for,
> 
> issue: https://bugs.openjdk.java.net/browse/JDK-8192909
> 
> having webrev at,
> 
> webrev : http://cr.openjdk.java.net/~hb/8192909/webrev.00/
> 
> Fix details: The test was failing intermittently because of duplicate
> entries for role in input password file. The duplicate entries get
> over-written by JMX agent, but the client was testing with stale entries
> for duplicated role. Also, the test now uses a single random number
> generator from test package (Utils.getRandomInstance) instead of two.
> 
> Regards
> 
> Harsha



More information about the serviceability-dev mailing list