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

Erik Joelsson erik.joelsson at oracle.com
Wed Nov 21 11:09:37 UTC 2012


This looks good to me. Old and new build produce the same results.

/Erik

On 2012-11-21 01:32, Dan Xu wrote:
> 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