I've run into a bit of code that is causing endless analysis in the editor. Basically the watchful eye never closes. The following code will never complete analysis.
BugTest.java
public class BugTest {
privatestaticfinalString DELIMETER = "|";
public BugTest() {
String regexp;
regexp = "\\"+ DELIMETER + "+$";
String source;
source = "one|two|three|";
String result;
result = source.replaceAll(regexp, ""); // Problem line
}
}
Description
I've run into a bit of code that is causing endless analysis in the editor. Basically the watchful eye never closes. The following code will never complete analysis.
BugTest.java
public class BugTest {
privatestaticfinalString DELIMETER = "|";
public BugTest() {
String regexp;
regexp = "\\"+ DELIMETER + "+$";
String source;
source = "one|two|three|";
String result;
result = source.replaceAll(regexp, ""); // Problem line
}
}