Bug 321695 - Test added for bug 319425 doesn't detect the bug
Summary: Test added for bug 319425 doesn't detect the bug
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 06:59 EDT by Satyam Kandula CLA
Modified: 2018-07-03 15:42 EDT (History)
5 users (show)

See Also:


Attachments
Proposed fix (1023 bytes, patch)
2010-08-31 16:12 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Satyam Kandula CLA 2010-08-04 06:59:58 EDT
Look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=319425#c17. The test added org.eclipse.jdt.core.tests.compiler.regression.ProblemTypeAndMethodTest#test107 doesn't detect the bug. The "catch (Error)" also catches the bogus ClassFormatError.  The comment also includes the patch from Stephan.
Comment 1 Olivier Thomann CLA 2010-08-04 13:51:58 EDT
I'll fix the test for 3.7M2.
Comment 2 Olivier Thomann CLA 2010-08-31 16:12:34 EDT
Created attachment 177883 [details]
Proposed fix
Comment 3 Olivier Thomann CLA 2010-08-31 16:13:03 EDT
Released for 3.7M2.
Update existing regression test.
Comment 4 Srikanth Sankaran CLA 2010-09-14 04:54:32 EDT
Verified for 3.7 M2