eclipse-jdtls / eclipse-jdt-core-incubator

Eclipse Public License 2.0
8 stars 1 forks source link

Javadoc parsing fails when parsing `java.util.stream.Stream` #937

Open datho7561 opened 3 hours ago

datho7561 commented 3 hours ago

Open completion at |:

import java.util.stream.Stream;

public class MyClass {
  public static void main(String... args) {
    Stream.of(new String[] { "text 1", "text 2" }).|
  }
}

Completion fails (at least in vscode-java). Looking at the logs it might be because Javadoc parsing of java.util.stream.Stream fails due one of the Javadoc ASTNodes being invalid.

datho7561 commented 3 hours ago

The completion error seems to be unrelated; I don't handle . after method invocations properly it seems.