[Uml-devel] [Bug 127160] Crash on importing Java 1.5 classes containing annotations

Oliver Kellogg okellogg at users.sourceforge.net
Mon May 15 22:59:02 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=127160         




------- Additional Comments From okellogg users sourceforge net  2006-05-16 07:21 -------
SVN commit 541374 by okellogg:

parseStmt(): Skip normal annotations too.
CCBUG:127160


 M  +3 -1      javaimport.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.cpp #541373:541374
 @ -261,8 +261,10  @
     }
     if (keyword == " ") {  // annotation
         advance();
-        if (m_source[m_srcIndex] == "(")
+        if (m_source[m_srcIndex + 1] == "(") {
+            advance();
             skipToClosing('(');
+        }
         return true;
     }
     if (keyword == "}") {




More information about the umbrello-devel mailing list