MartinoMensio / DP2-Labs

Distributed Programming 2 Laboratories @ Polytechnic University of Turin
MIT License
1 stars 0 forks source link

Assignment 3 unmarshaler is not thread safe #43

Closed MartinoMensio closed 7 years ago

MartinoMensio commented 7 years ago

The ValidatingReader uses a single unmarshaler for performing validation. The unmarshal operation is not thread-safe. Possible solutions:

Ask to Sisto

MartinoMensio commented 7 years ago

Sisto confirmed thread unsafety of Unmarshaller and suggested to use private unmarshaller (meaning built inside the readFrom method). This is the implementation I already did in b0797dd