RFR: 8197538 Remove mention of hotjava paths in MimeTable.java
Chris Hegarty
chris.hegarty at oracle.com
Tue Mar 6 14:49:36 UTC 2018
On 05/03/18 21:32, Roger Riggs wrote:
> Please review a change to a location where mailcap entries may appear.
> The mention of "hotjava.home" is ancient history.
>
> BTW, if you know whether "user.mailcap" System property is used, I'd be
> interested if anyone is using it.
>
> I may need a CSR to make it official.
>
> diff --git a/src/java.base/share/classes/sun/net/www/MimeTable.java
> b/src/java.base/share/classes/sun/net/www/MimeTable.java
> --- a/src/java.base/share/classes/sun/net/www/MimeTable.java
> +++ b/src/java.base/share/classes/sun/net/www/MimeTable.java
> @@ -57,9 +57,6 @@ public class MimeTable implements FileNa
> "/etc/mailcap",
> "/usr/etc/mailcap",
> "/usr/local/etc/mailcap",
> - System.getProperty("hotjava.home",
> - "/usr/local/hotjava")
> - + "/lib/mailcap",
> };
> return null;
> }
I think this is fine.
-Chris.
More information about the core-libs-dev
mailing list