RFR: 8197538 Remove mention of hotjava paths in MimeTable.java

Roger Riggs Roger.Riggs at Oracle.com
Mon Mar 5 21:32:47 UTC 2018


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;
              }

Thanks, Roger




More information about the core-libs-dev mailing list