Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1258

Var hint changes variable type for List.of()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Var Hint is visible for the following scenario : 

      // code placeholder
      List<String> x = List.of();
      

      and applying the var hint changes the variable type of x to List<Object>

      Attachments

        Activity

          People

            sakeshar Sarvesh Kesharwani
            sakeshar Sarvesh Kesharwani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: