Bug 16801 - Compiler problem when */ appears in commented String.
Summary: Compiler problem when */ appears in commented String.
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P2 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-22 10:16 EDT by Simon Gunzenreiner CLA
Modified: 2002-05-22 10:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Gunzenreiner CLA 2002-05-22 10:16:15 EDT
If the String
   String s = "*/";
is commented by /**  */:
    /**
    String s = "*/";
    */
I get the following compile problem:
String literal is not properly closed by a double-quote

(I am using F1)
Comment 1 Philipe Mulet CLA 2002-05-22 10:27:14 EDT
This is legite compiler behavior (javac reports same error).