[jdk11u-dev] RFR: 8285720: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails to compile after backport of 8273655

Christoph Langer clanger at openjdk.java.net
Mon May 30 14:23:41 UTC 2022


On Mon, 30 May 2022 14:16:03 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> The test still didn't pass on my machine:
> 
> ```
> Content type: text/x-python; expected: [text/plain, text/x-python-script]
> Content type: application/rar; expected: [application/vnd.rar]
> java.lang.RuntimeException: Test failed!
>         at Basic.main(Basic.java:193)
> ```
> 
> Nevertheless, the fix LGTM.

I also just checked. �� We need backports of [JDK-8274171](https://bugs.openjdk.java.net/browse/JDK-8274171) and [JDK-8278346](https://bugs.openjdk.java.net/browse/JDK-8278346). Unfortunately these bugs hadn't originally been linked to [JDK-8273655](https://bugs.openjdk.java.net/browse/JDK-8273655) which I now did.

-------------

PR: https://git.openjdk.java.net/jdk11u-dev/pull/1111


More information about the jdk-updates-dev mailing list