Review Request: 7142921: (fs) Files.probeContentType reports a MIME type of "text/plain" on Ubuntu 11.04

Dan Xu dan.xu at oracle.com
Wed Nov 21 00:32:43 UTC 2012


Hi,

I have a code fix which updates several makefiles in old build and new 
build. Please help validate them. The webrev is 
athttp://cr.openjdk.java.net/~dxu/7142921/webrev/.

In the fix, I have added five new .java filesand one .c file, whichare 
used in different platforms.

1) Used only in Mac platform
src/solaris/classes/sun/nio/fs/MacOSXMimetypesFileTypeDetector.java

2) Used only in Linux and Solaris

src/solaris/classes/sun/nio/fs/DelegatingFileTypeDetector.java
src/solaris/classes/sun/nio/fs/UnixMimetypesFileTypeDetector.java
src/solaris/classes/sun/nio/fs/MagicFileTypeDetector.java
src/solaris/native/sun/nio/fs/MagicFileTypeDetector.c

3) Used in Linux, Solaris, and Mac

src/solaris/classes/sun/nio/fs/MimetypesFileTypeDetector.java

-Dan



More information about the build-dev mailing list