Community
Participate
Working Groups
Build 20030221 Java search is using the SourceMapper to find out if a class file as a corresponding source. However in the case a source zip is attached to a jar file, but the source zip is incomplete (case or src.zip for rt.jar), potential matches in class files don't have a corresponding source. In this case too much time is spent in the SourceMapper trying to compute a root path for these class files.
The solution consists in computing all root paths when the first type is requested. Then there is no further computation in case the source doesn't exist.
Fixed and released in 2.1 stream.
Verified in source code. There is only one computation of root paths. I checked that this is correct in the tests.