SlickEdit Product Discussion > SlickEdit®

Java tagging symbol not found

(1/2) > >>

Using SE 26 beta 3 on Windows 10 with Oracle JDK 8u262.  Also using Netty 4.1.63.

I have code that uses a Netty ChannelFuture ( and calls the await(), isDone() and cancel() methods.  await() is correctly coloured as a public member function, however, cancel() and await are shown in red (symbol not found).

The difference appears to be because await() is overridden in the ChannelFuture interface whilst isDone() and cancel() are inherited from the java.util.concurrent.Future<V> interface via io.netty.util.concurrent.Future<V> 

Both JDK 8 and Netty 4 are tagged as well as the workspace.  Can you suggest why isDone() and cancel() can't be correctly resolved please?

Reproduced.  Will look into this today.

This will be fixed in the next build of version 26 (SlickEdit 2021).  Not hot-fixable, so nothing I can do for SlickEdit 2020 at this time.

Hi Dennis, that's good to hear, thanks for looking into this.

Does your fix address another similar issue that I found?

I have code that uses io.netty.handler.codec.http.HttpHeaders.  It retrieves them from an HTTP request using request.headers() where request is an io.netty.handler.codec.http.HttpRequest.

The code then interates over the headers using the following for loop:

for (Map.Entry<String, String> h: requestHeaders) {
    if (h.getKey().equalsIgnoreCase(HttpHeaderNames.CONTENT_TYPE.toString())) {
        CharSequence value = h.getValue();

the getKey() and getValue() methods are coloured as symbol not found as is equalsIgnoreCase().

I'll test that case too.


[0] Message Index

[#] Next page

Go to full version