specifications icon indicating copy to clipboard operation
specifications copied to clipboard

feat: Add content to the Jakarta Servlet Spec page

Open ZacharySabourin opened this issue 2 years ago • 7 comments

Resolves https://github.com/jakartaee/jakarta.ee/issues/1751

ZacharySabourin avatar Dec 15 '23 19:12 ZacharySabourin

Deploy Preview for jakartaee-specifications ready!

Name Link
Latest commit 44effcf991c9b43ebe86e46f1f6b76141c59bbbe
Latest deploy log https://app.netlify.com/sites/jakartaee-specifications/deploys/657ca66a76124d000832ff55
Deploy Preview https://deploy-preview-684--jakartaee-specifications.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Dec 15 '23 19:12 netlify[bot]

@chrisguindon

ZacharySabourin avatar Dec 15 '23 20:12 ZacharySabourin

@ivargrimstad Preview page: https://deploy-preview-684--jakartaee-specifications.netlify.app/specifications/servlet/

ZacharySabourin avatar Dec 18 '23 15:12 ZacharySabourin

Request for project team to review: https://www.eclipse.org/lists/servlet-dev/msg00627.html

ivargrimstad avatar Dec 21 '23 07:12 ivargrimstad

https://deploy-preview-684--jakartaee-specifications.netlify.app/specifications/servlet/6.1/

Minimum Java SE Version

Java SE 11 or higher

Should it be Java 17 or higher?

pmd1nh avatar Jan 26 '24 16:01 pmd1nh

Nope. At this point Servlet requires Java 11 minimum.

markt-asf avatar Jan 26 '24 17:01 markt-asf

Nope. At this point Servlet requires Java 11 minimum.

Servlet 6.1 is for EE11, which is minimum JDK 17. Specs are free to compile for a lower JDK. BUT! Implementations must pass TCK on JDK 17 and JDK 21.

Jetty has been on JDK 17 and JDK 21 for a while now, and JDK 17 behaves differently to JDK 11 in some key areas that can impact Servlet TCK. One interesting behavior change is with how the JDK provided Writer implementations now flush in close on JDK 17+ but not on JDK 11. This has caused "interesting" behaviors with regards to Content-Length vs Transfer-Encoding chunked on responses.

  • The bug that caused this Writer behavior change - https://bugs.openjdk.org/browse/JDK-8220477
  • The change - https://hg.openjdk.org/jdk/jdk/rev/7689e1cc56fe

joakime avatar Jan 26 '24 18:01 joakime