This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am trying to avoid usage of lamdas in Truffle API while allowing it to use other features of JDK8 (like default methods): https://github.com/jtulach/truffle/commit/4b2383f8ffaffd3e46f60aa576f872bd98f1f25e That works for lamdas, but it turned out that one also needs to disable method references: Runnable r = String::new; and it seems that it is not possible to write a rule that would match this kind of expression.
Created attachment 162740 [details] Tried
I tried to use \u003a as suggested by Jan, but `mx jackpot` doesn't detect any method literal violations.