Re: ClassLoader.definePackage() throwing IllegalArgumentException

2025-05-19 Thread Alan Bateman
On 19/05/2025 15:34, Robert Stupp wrote: Hi, I'd like to follow up on https://bugs.openjdk.org/browse/JDK-8350547. TL;DR java.lang.ClassLoader.definePackage() (the one taking 8 arguments) clearly defines that a IllegalArgumentException is thrown, "if a package of the given name is already

ClassLoader.definePackage() throwing IllegalArgumentException

2025-05-19 Thread Robert Stupp
Hi, I'd like to follow up on https://bugs.openjdk.org/browse/JDK-8350547. TL;DR java.lang.ClassLoader.definePackage() (the one taking 8 arguments) clearly defines that a IllegalArgumentException is thrown, "if a package of the given name is already defined by this class loader". However, it