CDV ❯ disallow auto-synchronize for boot jar classes
-
New Feature
-
Status: Open
-
2 Major
-
Resolution:
-
Byte Code Transform
-
-
prodmgmt
-
Reporter: teck
-
November 19, 2008
-
0
-
Watchers: 0
-
March 19, 2010
-
Description
“auto-synchronize” allows people to insert method level synchronization where it does not naturally exist. I believe the feature is an alternative to named locking and should really only be used for code that the user cannot change (like a library).
I don’t think users have any business doing such things to JDK types (eg. java.*) though. This feature is to disallow auto-synchronize for all boot jar classes
docs could be rewritten to exactly that effect: if you are using 3rd-party libraries which lack synchronization, and you need locking, here’s a way. add instructions and examples to make target of auto-synchronize very specific.