JDK-8022758 : IDN.toASCII() does not throw IAE for "example..com".
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-08-10
  • Updated: 2013-08-12
  • Resolved: 2013-08-12
Related Reports
Duplicate :  
Description
"example..com" is not a valid IDN, IDN.toASCII("example..com") should throws IAE, rather than throw java.lang.StringIndexOutOfBoundsException.