Closed Nizernizer closed 2 years ago
fix this bug with code:
import java.net.URL;
...
URL url = new URL(null, baseUrl + urlStr, baseUrl.toLowerCase().startsWith("https://") ? new sun.net.www.protocol.https.Handler() : new sun.net.www.protocol.http.Handler());
error log:
Set parameter a to true to solve the problem: