News for hackers. Stuff that matters.
Re:Common I/O Tasks in Modern Java by wging on Friday August 02, 2024 @07:51PM (#41143655)
It's been a while for me too, but I think I recall common advice to use java.net.URI instead of java.net.URL wherever possible, at least partly for that reason. Also, the javadocs of URL now state: "The java.net.URL constructors are deprecated. Developers are encouraged to use java.net.URI to parse or construct a URL."

There are no comments on this comment yet.