0

Hallo zusammen,

gibt es ein Tool, das die typischen Codestellen, welche ConcurrentModificationExceptions hervorrufen können, aus dem Stand entdeckt? Ich hatte mit FindBugs und PMD bisher kein Erfolg.

Typischer Code:

for(String s : stringSet)
{
  if(s.equals("foo"))
  {
    stringSet.remove(s);
  }
}
flag

2 Answers

0

Ich würde noch ein paar andere statische Code Analyzer ausprobieren. Hier ist eine Liste von Tools die das ggf. entdecken können.

link|flag
0

Ist das denn prinzipiell überhaupt möglich? Also theoretisch zu entdecken?

link|flag

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.