mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 00:36:16 +02:00
![]() Problem reason: loop inside of NewClassWizardUtil.getSourceFolder(). After "path.removeLastSegments(1)" deletes the last segment, path would contain "\", because (separators & HAS_LEADING) != 0) So, "path.isEmpty()" treats it as root path and returns false. That's why loop became infinite. Fix: - while (!path.isEmpty()) { + while (path.segmentCount() > 0) { |
||
---|---|---|
.. | ||
browser | ||
icons | ||
META-INF | ||
schema | ||
src/org/eclipse/cdt | ||
templates | ||
utils.ui/org/eclipse/cdt/utils/ui/controls | ||
.classpath | ||
.cvsignore | ||
.options | ||
.project | ||
about.html | ||
build.properties | ||
ChangeLog | ||
ChangeLog-2003 | ||
NEWS | ||
plugin.properties | ||
plugin.xml |