Review request: JDK-8067366 Allow java.{endorsed, ext}.dirs property be set to empty string

Alan Bateman Alan.Bateman at
Sat Dec 13 10:31:40 UTC 2014

On 12/12/2014 22:02, Mandy Chung wrote:
> Webrev:
> There is no harm to support java.{endorsed,ext}.dirs property be set 
> to an empty string as the value.  This patch will allow setting 
> -Djava.{endorsed,ext}.dirs="" which will make it easier for some 
> applications such as IntelliJ to migrate.  Setting such property to an 
> empty string has the same runtime behavior as the endorsed or 
> extension mechanism is not supported in JDK 9.
Tools that set these properties to the empty value or "" are clearly 
going out of the way to avoid the types in random JAR files becoming 
visible so this change make sense to me (and the changes look okay too).


More information about the hotspot-runtime-dev mailing list