View | Details | Raw Unified | Return to bug 182154
Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/indexing/BinaryIndexer.java (-3 / +3 lines)
Lines 744-757 Link Here
744
					}
744
					}
745
				}
745
				}
746
			}
746
			}
747
	
748
			// record all references found inside the .class file
747
			// record all references found inside the .class file
749
			extractReferenceFromConstantPool(contents, reader);
748
			extractReferenceFromConstantPool(contents, reader);
750
		} catch (ClassFormatException e) {
749
		} catch (ClassFormatException e) {
751
			// ignore
750
			// ignore
752
		} catch (RuntimeException e) {
751
		} catch (RuntimeException e) {
753
			Util.log(e, "Indexer crashed on document " + this.document.getPath()); //$NON-NLS-1$
752
			// https://bugs.eclipse.org/bugs/show_bug.cgi?id=182154
754
			throw e;
753
			// logging the entry that could not be indexed and continue with the next one
754
			Util.log(e, "Indexer crashed on document " + this.document.getPath() + ". Please report this issue to JDT/Core including the problematic document"); //$NON-NLS-1$ //$NON-NLS-2$
755
		}
755
		}
756
	}
756
	}
757
	/*
757
	/*

Return to bug 182154