[MAGNOLIA-3786] Simplify UnicodeNormalizer initialization Created: 03/Aug/11  Updated: 23/Jun/15  Resolved: 18/Jul/12

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 4.5
Fix Version/s: 4.5.4, 5.0

Type: Improvement Priority: Neutral
Reporter: Daniel Lipp Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing MGNLLDAP-70 Remove dependency on ICU Closed
relation
is related to MAGNOLIA-3787 some core tests (Utf8ContentTest, Uni... Closed
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)
Date of First Response:

 Description   

As long as we weren't sure whether people run on Java 6 or smaller we had to check for "java.text.Normalizer" being on the classpath or not (in case of AutoDetectNormalizer or Java6ReflectionNormalizer being specified) and hence use reflection. As Java 6 (or higher) it is now mandatory so this mechanism can be simplified.



 Comments   
Comment by Daniel Lipp [ 08/Nov/11 ]

Make sure to consider SystemProperty#MAGNOLIA_UTF8_ENABLED property when refactoring.

Comment by Jan Haderka [ 26/Jun/12 ]

Shouldn't ICU be removed as part of this as well? Or is there anything else that depends on that library?

Generated at Mon Feb 12 03:49:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.