Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > d9d973b97df0e1c5266a0c10b00e1570 > files > 12

aspectj-1.6.12-1.mga2.src.rpm

diff -Nru modules/org.eclipse.jdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/CompilationUnitResolver.java modules/org.eclipse.jdt.core-gil/src/org/aspectj/org/eclipse/jdt/core/dom/CompilationUnitResolver.java
--- modules/org.eclipse.jdt.core/src/org/aspectj/org/eclipse/jdt/core/dom/CompilationUnitResolver.java	2011-09-13 15:52:36.080796204 +0200
+++ modules/org.eclipse.jdt.core-gil/src/org/aspectj/org/eclipse/jdt/core/dom/CompilationUnitResolver.java	2011-09-13 15:56:03.270793535 +0200
@@ -779,14 +779,14 @@
 			}
 		} catch (RuntimeException e) {
 			throw e;
-		} catch (AbortCompilation e) {
-			this.handleInternalException(e, unit);
+		//} catch (AbortCompilation e) {
+		//	this.handleInternalException(e, unit);
 		} catch (Error e) {
 			this.handleInternalException(e, unit, null);
 			throw e; // rethrow
-		} catch (RuntimeException e) {
-			this.handleInternalException(e, unit, null);
-			throw e; // rethrow
+		//} catch (RuntimeException e) {
+		//	this.handleInternalException(e, unit, null);
+		//	throw e; // rethrow
 		} finally {
 			// disconnect ourselves from ast requestor
 			astRequestor.compilationUnitResolver = null;
diff -Nru modules/org.eclipse.jdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java modules/org.eclipse.jdt.core-gil/src/org/aspectj/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java
--- modules/org.eclipse.jdt.core/src/org/aspectj/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java	2011-09-13 15:52:35.913796206 +0200
+++ modules/org.eclipse.jdt.core-gil/src/org/aspectj/org/eclipse/jdt/internal/core/CompilationUnitProblemFinder.java	2011-09-13 15:58:19.280791784 +0200
@@ -212,18 +212,18 @@
 			return unit;
 		} catch (RuntimeException e) {
 			throw e;
-		} catch(RuntimeException e) { 
+		//} catch(RuntimeException e) { 
 			// avoid breaking other tools due to internal compiler failure (40334)
-			String lineDelimiter = unitElement.findRecommendedLineSeparator();
-			StringBuffer message = new StringBuffer("Exception occurred during problem detection:");  //$NON-NLS-1$ 
-			message.append(lineDelimiter);
-			message.append("----------------------------------- SOURCE BEGIN -------------------------------------"); //$NON-NLS-1$
-			message.append(lineDelimiter);
-			message.append(contents);
-			message.append(lineDelimiter);
-			message.append("----------------------------------- SOURCE END -------------------------------------"); //$NON-NLS-1$
-			Util.log(e, message.toString());
-			throw new JavaModelException(e, IJavaModelStatusConstants.COMPILER_FAILURE);
+		//	String lineDelimiter = unitElement.findRecommendedLineSeparator();
+		//	StringBuffer message = new StringBuffer("Exception occurred during problem detection:");  //$NON-NLS-1$ 
+		//	message.append(lineDelimiter);
+		//	message.append("----------------------------------- SOURCE BEGIN -------------------------------------"); //$NON-NLS-1$
+		//	message.append(lineDelimiter);
+		//	message.append(contents);
+		//	message.append(lineDelimiter);
+		//	message.append("----------------------------------- SOURCE END -------------------------------------"); //$NON-NLS-1$
+		//	Util.log(e, message.toString());
+		//	throw new JavaModelException(e, IJavaModelStatusConstants.COMPILER_FAILURE);
 		} finally {
 			if (environment != null)
 				environment.monitor = null; // don't hold a reference to this external object