[ https://issues.apache.org/jira/browse/OLINGO-1349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bolz updated OLINGO-1349: --------------------------------- Fix Version/s: V2 2.0.12 > EdmTime use synchronized TimeZone.getTimeZone("GMT") > ---------------------------------------------------- > > Key: OLINGO-1349 > URL: https://issues.apache.org/jira/browse/OLINGO-1349 > Project: Olingo > Issue Type: Bug > Components: odata2-core > Affects Versions: V2 2.0.11 > Reporter: Patrik Steuer > Assignee: Michael Bolz > Priority: Major > Fix For: V2 2.0.12 > > > *Problem:* > [EdmTime.class:internalValueToString|https://github.com/apache/olingo-odata2/blob/master/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/edm/EdmTime.java#L132] > calls TimeZone.getTimeZone("GMT") which is synchronized. This adds overhead > to apps using this function. > *Possible Solution:* > Either use a more modern class like ZoneId.of() or use a static variable to > reuse the timezone. -- This message was sent by Atlassian JIRA (v7.6.3#76005)