Menu

#5 No calls to non-final member methods in synchronized code

open
nobody
Codechecks (15)
5
2006-07-24
2005-09-29
Bart Buil
No

No calls to non-final member methods in synchronized
code

- Category: Dangerous Code

- Bad code:
synchronized function() {
Function2();
}
function2() {
....
}
- Good code:
synchronized function() {
Function2();
}
final function2() {
....
}

Discussion

  • Roel Spilker

    Roel Spilker - 2006-07-24

    Logged In: YES
    user_id=1278351

    Already added to the eclipse framework.

     
  • Roel Spilker

    Roel Spilker - 2006-07-24
    • status: open --> closed
     
  • Roel Spilker

    Roel Spilker - 2006-07-24

    Logged In: YES
    user_id=1278351

    Oops. Wrong Tracker.

     
  • Roel Spilker

    Roel Spilker - 2006-07-24
    • status: closed --> open
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.