[ https://issues.apache.org/jira/browse/GERONIMO-6712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16786526#comment-16786526 ]
Mark Struberg commented on GERONIMO-6712: ----------------------------------------- VOTE passed, fix got released in our 1.2 version: repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-json_1.1_spec/1.2/ > JsonValue Class initialisation might create a deadlock > ------------------------------------------------------ > > Key: GERONIMO-6712 > URL: https://issues.apache.org/jira/browse/GERONIMO-6712 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: specs > Reporter: Mark Struberg > Assignee: Mark Struberg > Priority: Major > > Our {{JsonValue}} class contains the following two static fields: > {souce} > JsonObject EMPTY_JSON_OBJECT = Json.createObjectBuilder().build(); > JsonArray EMPTY_JSON_ARRAY = Json.createArrayBuilder().build(); > {souce} > It basically starts up a whole Json Provider just for initialising the > JsonValue class. > This might lead to a deadlock in the JVM during the classloading if it gets > triggered in highly concurrent situtations. -- This message was sent by Atlassian JIRA (v7.6.3#76005)