[MGNLUI-7078] Build on JDK 11 (ui) Created: 01/Apr/22  Updated: 24/Jun/22  Resolved: 24/Jun/22

Status: Resolved
Project: Magnolia UI
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0

Type: Story Priority: Neutral
Reporter: Michael Duerig Assignee: Michael Duerig
Resolution: Fixed Votes: 0
Labels: foundation_team
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Cloners
clones MAGNOLIA-8369 Build on JDK 11 (main) Resolved
is cloned by MGNLCE-298 Build on JDK 11 (ce) Resolved
Issue split
split from BUILD-313 Fix unit tests failed when compiling ... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLUI-7080 Update to Mockito 2 Sub-task Closed Michael Duerig  
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Release notes required:
Yes
Documentation update required:
Yes
Epic Link: Build on JDK11+

 Description   

Acceptance criteria

  • Builds on JDK11, tests pass
  • Breaking changes are covered with test cases
  • Breaking changes are documented


 Comments   
Comment by Michael Duerig [ 04/Apr/22 ]

This experimental branch contains some changes necessary for bumping to Java 11:

  • Add dependency to javax.annotation-api and javax.activation, which are not part of the JRE anymore: 5d4c303b
  • Fix test that cannot handle nanosecond time resolution: f3bcb4e8
  • Test failing because of changes in date / time formatting in the ZH locale: e9df13c8
  • Test fails because it depends on implementation details of PNG compression: dfc4536e
  • Failing test due to changes in date / time format in english and german locale: bcdcea10
  • Failing test because it depends on a specific exception message that change in later JDKs: e32f20c2
  • Failing test due to unconstrained resource loading not working the same any more: 8c044793. See also the not on the reflections library on MAGNOLIA-8369.
Comment by Michael Duerig [ 15/Jun/22 ]

Re-opening so we can use this ticket to track bumping the Java base version to 11

Generated at Mon Feb 12 09:42:56 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.