You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/23 11:40:33 UTC
[GitHub] [netbeans] terifan opened a new issue, #4276: All implementations of abstract methods are considered unused
terifan opened a new issue, #4276:
URL: https://github.com/apache/netbeans/issues/4276
### Apache NetBeans version
Apache NetBeans 14
### What happened
Obvious bug that make code harder to read. Was working in previous version.
### How to reproduce
package test;
public class Test
{
public static void main(String[] args)
{
Abstr impl = new Impl();
impl.get();
}
}
abstract class Abstr
{
abstract void get();
}
class Impl extends Abstr
{
@Override
void get() // <---- considered unused
{
System.out.println("hello world");
}
}
### Did this work correctly in an earlier version?
Apache NetBeans 13
### Operating System
Windows 8.1
### JDK
17.0.2
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4276:
URL: https://github.com/apache/netbeans/issues/4276#issuecomment-1293566418
Should be fixed in 16-rc2, available from #4815 Please verify /cc @dbalek
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4276:
URL: https://github.com/apache/netbeans/issues/4276#issuecomment-1280538347
As mentioned in #4783 this affects non-abstract package-private methods too. I think we should hide or remove the hint if not fixable by NB16 release @dbalek
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4276:
URL: https://github.com/apache/netbeans/issues/4276#issuecomment-1290436148
Opened a potential fix for this - cc @mbien @dbalek
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] mbien commented on issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4276:
URL: https://github.com/apache/netbeans/issues/4276#issuecomment-1277881492
note: even though this looks like a regression, it isn't since NB didn't have the hint before NB 14 (#3841).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net closed issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net closed issue #4276: All implementations of abstract methods are considered unused
URL: https://github.com/apache/netbeans/issues/4276
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net commented on issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4276:
URL: https://github.com/apache/netbeans/issues/4276#issuecomment-1287130347
Have noticed that even with the hint disabled, methods are still underlined with an unused message in the tooltip.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] neilcsmith-net closed issue #4276: All implementations of abstract methods are considered unused
Posted by GitBox <gi...@apache.org>.
neilcsmith-net closed issue #4276: All implementations of abstract methods are considered unused
URL: https://github.com/apache/netbeans/issues/4276
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists