JDK 9 RFR of 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain
Brian Burkhalter
brian.burkhalter at oracle.com
Tue Aug 2 15:40:14 UTC 2016
Hi Roger,
On Aug 2, 2016, at 7:21 AM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> +1
>
> Basic.java: Line 69: (pre-existing) Its probably useful to include the message from the exception,
> it may provide some clue as to what the problem was.
OK will update.
>>> As regards ordering what what you have it okay. I assume it will be rare to set the property content.types.user.table and so the JDK's content-types.properties will be a fallback.
>>
>> Question is whether this should be a fallback on OS X and Windows as well.
> +1 that would provide a consistent cross-platform fallback based on the system property "content.types.user.table".
I concur and the change could be fairly straightforward.
Thanks,
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20160802/4dbba58a/attachment.html>
More information about the nio-dev
mailing list