Community
Participate
Working Groups
(I'm using the M5 build.) When the following line appears in the editor, problems happen: System.out.print("\\"); The *editor* parses it correctly, and the trailing "); appear in black (i.e., outside the string). However, the fragment "\\"); is underlined in a wavy red line, and the compiler refuses to accept this, saying: "String literal is not properly closed by a double-quote".
Starting a fresh workspace using M5, I could not reproduce the problem. I used this class as a test case, but everything is right and when I run it, I got: \ public class Test { public static void main(String[] args) { System.out.print("\\"); } } Could you please try to give more information about the failure? If you can't, I will have to close it as WORKSFORME.
I'm not at the office right now, but let's see if I remember how this happened: IIRC, first, I wrote "\" by mistake, saved, and built. Then, when I fixed it, the wavy red line did not go away.
It seems that there is a refresh problem, but if you write "\\", it compiles fine.
The refresh problem seems to be fixed in latest. In fact I can get the red wavy line when I type "\" and then it disappears if I change it for "\\". I am closing this PR as WORKSFORME. Please reopen it if you encounter the problem with the next integration build next week.