Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8208184

IllegalArgumentException while invoking code completion on netbeans IDE

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27
    • Verification:
      Verified

      Backports

        Description

        It seems to be an issue with com.sun.tools.javac.main.JavaCompiler.parseAndGetName where log.useSource is not set before invoking parser.
        which may be resulting in JCDiagnostic.java where check is made on source==null.

        Attached corresponding stacktrace.


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sdama Srinivas Dama (Inactive)
                  Reporter:
                  sdama Srinivas Dama (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: