Auf Thema antworten

Weiterer Proof:

[code=java]

package de.limdul.javaforum;


import java.net.MalformedURLException;

import java.net.URL;

import java.time.LocalDateTime;


public class TestLookup2 {


    public static void main(String[] args) throws MalformedURLException {

        URL url = new URL("http://sgihlsghisghkskhljgshklgshlkgslkghskgs");

        System.out.println(LocalDateTime.now());

        url.hashCode();

        System.out.println(LocalDateTime.now());

    }

}

[/code]

Ausgabe:


1 Sekunde Laufzeit für hashCode();


Ich hab einen eigenen DNS (pihole) im Netzwerk, schauen wir mal in die Logs:



Oben