[Uml-devel] [Bug 127160] Crash on importing Java 1.5 classes containing annotations
Oliver Kellogg
okellogg at users.sourceforge.net
Mon May 15 22:14:36 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
okellogg users sourceforge net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From okellogg users sourceforge net 2006-05-16 07:02 -------
SVN commit 541373 by okellogg:
parseStmt(): Skip annotations for now.
TODO: Investigate how to forward them to the model.
BUG:127160
M +1 -0 ChangeLog
M +6 -0 umbrello/javaimport.cpp
--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #541372:541373
@ -14,6 +14,7 @
* Crash loading xmi file (125331, 126968)
* User interaction with UMLWidget improvements (126391)
* Comments are cut short when generating PHP code (126480)
+* Crash on importing Java 1.5 classes containing annotations (127160)
Version 1.5.2
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.cpp #541372:541373
@ -259,6 +259,12 @
skipStmt();
return true;
}
+ if (keyword == " ") { // annotation
+ advance();
+ if (m_source[m_srcIndex] == "(")
+ skipToClosing('(');
+ return true;
+ }
if (keyword == "}") {
if (m_scopeIndex)
m_klass = dynamic_cast<UMLClassifier*>(m_scope[--m_scopeIndex]);
More information about the umbrello-devel
mailing list