Hi,

 

Please review the patch for "sun/security/krb5/auto/Unreachable.java fails with 
Timeout error"

 

JBS: https://bugs.openjdk.java.net/browse/JDK-8015595

Webrev: http://cr.openjdk.java.net/~ssahoo/8015595/webrev.00/

 

Description:

When a KDC port is unreachable, Kerberos login module depends on 
PortUnreachableException to exit immediately. But as per JavaDoc for receive() 
in "java.net.DatagramSocket", the PortUnreachableException is not guaranteed. 
In such case the Login module waits for 90 second by default. But the JTREG 
Test timeout has been set for 10 second and because of that the Test gets 
timeout.

 

Since the "intermittent" failure is unavoidable due to  
"PortUnreachableException is not guaranteed", I have provided a fix to print a 
warning message for such cases instead of making the Test timeout.

 

Thanks,

Siba

 

Reply via email to