Closed qiyitang71 closed 7 years ago
Original report by Artho Cyrille (Bitbucket: 557058:d037361a-d6a1-4cae-80e0-7b1940bbc779, GitHub: cyrille-artho).
For transitions 11-20, "synchronized(getClass())" is highlighted. This has type java.lang.Class.
Further down, e.g., transition 422, it is "synchronized(chatServer)", but that's the chat server instance, not its class descriptor as above.
Original comment by Artho Cyrille (Bitbucket: 557058:d037361a-d6a1-4cae-80e0-7b1940bbc779, GitHub: cyrille-artho).
Resolved by using class names to classify locks.
Original report by Artho Cyrille (Bitbucket: 557058:d037361a-d6a1-4cae-80e0-7b1940bbc779, GitHub: cyrille-artho).
For transitions 11-20, "synchronized(getClass())" is highlighted. This has type java.lang.Class.
Further down, e.g., transition 422, it is "synchronized(chatServer)", but that's the chat server instance, not its class descriptor as above.