View | Details | Raw Unified | Return to bug 357029 | Differences between
and this patch

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/indexing/AddJarFileToIndex.java (+5 lines)
Lines 244-249 Link Here
244
		if (this.scanner == null)
244
		if (this.scanner == null)
245
			this.scanner = new Scanner(false /* comment */, true /* whitespace */, false /* nls */,
245
			this.scanner = new Scanner(false /* comment */, true /* whitespace */, false /* nls */,
246
					ClassFileConstants.JDK1_3/* sourceLevel */, null/* taskTag */, null/* taskPriorities */, true /* taskCaseSensitive */);
246
					ClassFileConstants.JDK1_3/* sourceLevel */, null/* taskTag */, null/* taskPriorities */, true /* taskCaseSensitive */);
247
//{ObjectTeams: don't exclude OT keywords appearing as package names:
248
		this.scanner.forceBaseIsIdentifier();
249
		this.scanner.parsePureJavaOnly = true;
250
		this.scanner.parseOTJonly = false;
251
// SH}
247
		this.scanner.setSource(classNameArray); 
252
		this.scanner.setSource(classNameArray); 
248
		this.scanner.eofPosition = classNameArray.length - SuffixConstants.SUFFIX_CLASS.length;
253
		this.scanner.eofPosition = classNameArray.length - SuffixConstants.SUFFIX_CLASS.length;
249
		try {
254
		try {

Return to bug 357029