[ 
https://issues.apache.org/jira/browse/NETBEANS-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222136#comment-17222136
 ] 

Akshay Gupta commented on NETBEANS-4917:
----------------------------------------

I see this problem in 12.2 beta2 release but seems like hint is working fine in 
master branch right now(tested with and without nb-javac but only in jdk15). 
[~jtulach] can you check the same with the master if you're still getting the 
same problem.
And for the "flip operands" hints check for operands to be string and mark the 
hint as unsafe( give the warning of semantics change. If you think it is 
possible to remove the hint when any operand is string.

> Cannot convert to text
> ----------------------
>
>                 Key: NETBEANS-4917
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4917
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Hints
>            Reporter: Jaroslav Tulach
>            Assignee: Akshay Gupta
>            Priority: Major
>         Attachments: image-2020-10-17-08-54-06-928.png
>
>
> I am not able to invoke "Convert to Text Block" hint/inspect & refactor, etc. 
> To reproduce my problem:
> * clone https://github.com/JaroslavTulach/heapdump/ revision 
> 2c8cd7e89ee4cc613a345df023e93b0662df391b
> * open in NetBeans 
> * go to Main.java line 52
> * try to convert to text block
> * it is not working for me. No hint.
> * Tried Refactor/Inspect + single inspection: Convert to Text block. Nothing.
>  !image-2020-10-17-08-54-06-928.png! 
> The {{pom.xml}} contains source and target set to 8. I tried everything: 
> change that to 15, run the NetBeans on 15. No luck.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to