Community
Participate
Working Groups
20030220 Signature.getSimpleName/Signature.getQualifier is very popular in JDT-UI and heavyly used (also, and quite often in inner loops). I looked at the implementation and say that it creates a new char array. It would be better to do a String.substring(..) which reuses the String's internal char buffer.
I'm talking of course about the Signature.getSimpleName(String), Signature.getQualifier(String) methods
Pls investigate. We need to be careful if someone could alter the original array.
Using the String method is fairly safe, since Strings are immutable. I will run all tests with my changes.
Changes using only string operations work fine. All tests passed.
I will wait RC1 to be out before I release it.
Change milestone. Fix is ready to be released.
Fixed and released in 2.1 stream.
Verified.