[jdk11u-dev] RFR: 8285720: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails to compile after backport of 8273655
Martin Doerr
mdoerr at openjdk.java.net
Mon May 30 15:21:51 UTC 2022
On Mon, 30 May 2022 14:20:20 GMT, Christoph Langer <clanger 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.
Thanks for fixing that! These 2 fixes apply cleanly and make the test work on my machine.
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/1111
More information about the jdk-updates-dev
mailing list