This question is probably applicable also to other languages โโwith C-like multi-line comments. Here is the problem I am facing. I work with Java code in Eclipse and I would like to comment on a block of code. However, there is a line that contains the sequence of characters "* /", and Eclipse believes that the comment should end there, although it is inside the line. It gives me a lot of mistakes and fails to build.
/* ... some Java code ... ... "... */ ..." ... ... more Java code ... */
Does the Java specification match the Eclipse interpretation of my multi-line comment? I would like to think that Java and / or Eclipse will be responsible for such things.
user316
source share