"Rebuild package" can crash with ConcurrentModificationException if class name changed.
To reproduce:
- Change the names of two classes, but do not save them (do not close editor, do not compile, do not save).
2. Choose "rebuild package" from the tools menu.