Umm, am I missing something or is this thread unsafe in LoggingEvent?

 static final Integer[] PARAM_ARRAY = new Integer[1];

....
in readLevel(ObjectInputStream){.
....
        PARAM_ARRAY[0] = new Integer(p);
        level = (Level)m.invoke(null, (Object[]) PARAM_ARRAY);

Is there some synchronization done here?  If not, wouldn't the PARAM_ARRAY be shared?  If this was the case and one had multiple Receivers reading data from multiple sources, then there is a possibility of data corruption?

Thoughts?

Paul

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to