Community
Participate
Working Groups
Build Identifier: M20100909-0800 The cast in compareTo is not protected by a test on instanceof: public int compareTo(Object o) { FilterDescription that = (FilterDescription) o; IPath path1 = this.getResource().getProjectRelativePath(); // ... } hence, if we compare a FilterDescription object to something other another FilterDescription, a ClassCastException will be thrown. Reproducible: Always Steps to Reproduce: 1. create a new FileDescription fd 2. execute fd.compareTo(new Foo()); 3. ClassCastException is thrown
It was fixed in 3.7.