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

Incorrect "Text blocks aren't supported"

    XMLWordPrintableJSON

Details

    Description

      Get https://github.com/apache/netbeans-html4j/blob/release-1.7.2/json-tck/src/main/java/net/java/html/js/tests/AsyncJavaScriptAction.java#L36, open it in most recent NetBeans IDE running on JDK8 (with nbjavac@16.0.0.0 installed) and try to convince the editor to not show errors about text blocks:

      Is there some way to do so? It is very annoying to have the source tree full of useless errors related to text blocks, when everything compiles and runs fine. The project's source level is set to 15 and Maven support shall report that to java.source. Any help welcomed.

      Attachments

        1. image-2021-07-02-08-47-25-560.png
          101 kB
          Jaroslav Tulach

        Issue Links

          Activity

            People

              jtulach Jaroslav Tulach
              jtulach Jaroslav Tulach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h