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.

Reply via email to