[8u] RFR: 8146215: (fs) java/nio/file/Files/probeContentType/Basic.java failed frequently on Solaris-sparc with Unexpected type: text/plain

Alex Kashchenko akashche at redhat.com
Fri Jun 26 22:30:51 UTC 2020


Hi,

Please review the backport of JDK-8146215 to 8u:

Bug: https://bugs.openjdk.java.net/browse/JDK-8146215

9 commit: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/44bb7c7997ca

8u webrev: https://cr.openjdk.java.net/~akasko/jdk8u/8146215/webrev.00/

8u code change is almost identical to 9, only copyright year is changed 
in AbstractFileTypeDetector.java. Test part doesn't apply cleanly, 
because probeContentType/Basic.java in 9 contains changes that are not 
in 8u (JDK-8129632 and others), it is adjusted for 8u. Testing: included 
test, jck:api/java_net;api/java_nio.


-- 
-Alex



More information about the jdk8u-dev mailing list