Mark Struberg created GERONIMO-6712:
---------------------------------------

             Summary: 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


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)

Reply via email to