Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getCanonicalHostName (0.17 seconds)

  1. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    java.net.InetSocketAddress#toString()
    
    @defaultMessage avoid DNS lookups by accident: if you have a valid reason, then @SuppressWarnings with that reason so its completely clear
    java.net.InetAddress#getHostName()
    java.net.InetAddress#getCanonicalHostName()
    
    java.net.InetSocketAddress#getHostName() @ Use getHostString() instead, which avoids a DNS lookup
    
    @defaultMessage Do not violate java's access system
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
  2. CHANGELOG.md

        reading the public suffix database would cause subsequent reads to hang when they should have
        crashed.
    
     *  Fix: Avoid `InetAddress.getCanonicalHostName()` in MockWebServer. This avoids problems if the
        host machine's IP address has additional DNS registrations.
    
     *  New: Create a JPMS-compatible artifact for `JavaNetCookieJar`. Previously, multiple OkHttp
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 15 11:57:47 GMT 2026
    - 36.2K bytes
    - Click Count (2)
Back to Top