mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Mirror of https://github.com/eclipse-cdt/cdt
![]() 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) { |
||
---|---|---|
build | ||
core | ||
debug | ||
doc | ||
launch/org.eclipse.cdt.launch | ||
releng |