We are making use of getAttributes method on javax.naming.directory.InitialDirContext for SRV record, this is being attempted from local laptop connected to company VPN through Global Protect 5.2.6-87 version. The below lines of code works absolutely fine from Oracle Java 15 onwards, however it fails on Oracle Java 14 and below throwing exception highlighted below
The API documentation for javax.naming.directory.InitialDirContext does not have significant difference from Java 14 to Java 15. Looking at any inputs to figure out the reason, why the above lines of code works from Java 15 onwards and fails below Java 15 ?
Thank You.