Bug 137619

Summary: Compiler doesn't log exceptions when a runtime exception occurs
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Olivier Thomann CLA 2006-04-19 18:31:29 EDT
If a runtime exception that was not caught as an internal error occurs. The compiler fails silently.
Comment 1 Olivier Thomann CLA 2006-04-19 18:31:45 EDT
Philippe, Candidate for RC2 ?
Comment 2 Olivier Thomann CLA 2006-04-19 18:46:47 EDT
Fixed and released in HEAD.
DTD has been incremented.

Now we report:
<?xml version="1.0" encoding="UTF-8"?>
<!-- 06-04-19 18:15:34 EDT -->
<!DOCTYPE compiler PUBLIC "-//Eclipse.org//DTD Eclipse JDT 3.2.002 Compiler//EN" "http://www.eclipse.org/jdt/core/compiler_32_002.dtd">
<compiler name="Eclipse Java Compiler" version="0.659, pre-3.2.0 release candidate-2" copyright="Copyright IBM Corp 2000, 2006. All rights reserved.">
 <exception class="class java.lang.ArrayStoreException" message="java.lang.ArrayStoreException
 at java.util.ArrayList.toArray(ArrayList.java:330)
 at org.eclipse.jdt.internal.compiler.batch.Main.configure(Main.java:2602)
 at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1330)
"/>
</compiler>
Comment 3 Philipe Mulet CLA 2006-04-19 19:10:47 EDT
+1 for 3.2RC2
Comment 4 Olivier Thomann CLA 2006-04-28 14:38:35 EDT
Verified with I20060427-1600 for 3.2RC2