Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 331084

Summary: Missing break statement in HTMLDocumentAdapter can cause ClassCastException.
Product: [WebTools] WTP Source Editing Reporter: Rakesh <rakes123>
Component: wst.htmlAssignee: Rakesh <rakes123>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: unspecifiedFlags: nsand.dev: review+
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch nsand.dev: iplog+

Description Rakesh CLA 2010-11-25 02:31:34 EST
Build Identifier: M20101029-0800

HTMLDocumentAdapter  is throwing ClassCastException sometimes due to a missed break statement in a switch statement.

Reproducible: Always
Comment 1 Rakesh CLA 2010-11-25 02:32:36 EST
Created attachment 183825 [details]
patch
Comment 2 Nick Sandonato CLA 2010-12-02 17:16:37 EST
Nice catch!
Comment 3 Nick Sandonato CLA 2010-12-03 14:24:39 EST
Changes checked in.