Version: 1.5.3 + (#129107) +(#126560, #129252) Build kdesdk-555673 (using KDE KDE 3.5.3) Installed from: Slackware Packages Compiler: gcc (GCC) 3.3.6 OS: Linux The program freezes completelly when importing the following java class: import java.awt.*; import java.io.*; import java.net.*; import java.awt.event.*; import javax.swing.*; import java.awt.Toolkit; public class DumpDownLoad { JFrame frame=new JFrame(); // Add the scroll panes to a split pane. JSplitPane vertical1 = new JSplitPane(JSplitPane.VERTICAL_SPLIT); // Create obects GridBagLayout layout = new GridBagLayout(); JLabel versionLabel = new JLabel(new String(" Version to download: ")); JLabel displayLabel = new JLabel(new String("")); JPanel topPanel = new JPanel(layout); JEditorPane logPane = new JEditorPane(); JScrollPane bottomPane = new JScrollPane(logPane); JTextField versionText = new JTextField("",4); }
SVN commit 556909 by okellogg: skipToClosing(): Add check for QString::null return value from advance(). BUG:130093 M +1 -1 ChangeLog M +2 -0 umbrello/javaimport.cpp --- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #556908:556909 @@ -1,7 +1,7 @@ Version 1.5.4 * Bugs/wishes from http://bugs.kde.org: -* Fix crash when importing classes from a java file (129107) +* Fix crash when importing classes from a java file (129107, 130093) * Crash after single click on the "UML Model" tree window (126560/129252) Version 1.5.3 --- branches/KDE/3.5/kdesdk/umbrello/umbrello/javaimport.cpp #556908:556909 @@ -111,6 +111,8 @@ int nesting = 0; while (m_srcIndex < srcLength) { QString nextToken = advance(); + if (nextToken.isEmpty()) + break; if (nextToken == closing) { if (nesting <= 0) break;