Open
Description
I have a resource subclass that provides HTML and JSON representations using @Get("html")
and @Get("json")
annotations. In Java 8, the correct representation is returned based on the value of the Accept
header. In Java 9, the Accept
header is not respected and HTML is always returned.
I've assembled a minimal Restlet 2.3.10 JSE application to demo this: https://github.com/adolski/restlet-jdk9-issue