[BUILD-317] Upgrade to Java EE 8 baseline (Servlet API 4.0.1) Created: 19/Jun/18  Updated: 07/Jun/19  Resolved: 03/Jun/19

Status: Closed
Project: Build
Component/s: None
Affects Version/s: None
Fix Version/s: BOM 6.1

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Cloners
clones BUILD-310 Upgrade to Java EE 8 baseline Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Epic Link: 6.1 library update
Sprint: Foundation 12
Story Points: 1

 Description   

Follow-up to  BUILD-310.  Only Servlet 4.0 which we preferred not to update in order to perform more extensive tests on some possibly breaking changes it introduces, e.g. ServletOutputStream

Some input from Mika regarding the two new methods we need to implement:

  • isReady() should return false. I understand it as only leveraged in the context of the non-blocking I/O; and that if you don't use a write listener, then it's not gonna bother checking for readiness; as such I understand [javadoc] as "it returns true if a [non-blocking] write to this ServletOutputStream will succeed"
  • then throwing an UnsupportedOperationException in setWriteListener() seems legit to make sure no client usage tries to do that on those stub output streams.

Generated at Sun Feb 11 23:40:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.