removed custom URLStreamHandlerFactory
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
package envelope.test.jpms;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) throws MalformedURLException {
|
||||
new URL("https://www.google.com");
|
||||
System.out.println("Hello World!!");
|
||||
}
|
||||
}
|
@@ -1,7 +1,10 @@
|
||||
package envelope.test.legacy;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
public static void main(String[] args) throws MalformedURLException {
|
||||
new URL("https://www.google.com");
|
||||
System.out.println("Hello World!!");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user