[
https://issues.apache.org/jira/browse/NETBEANS-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rick Hegarty updated NETBEANS-576:
----------------------------------
Description:
I created a trivial Java application with some issues for FindBugs to identify:
{{package app;}}{{public class App {}}
{{ static String s1; int j; Boolean b1;}}
{{ public static void main(String[] args) {}}
{{ System.out.println("JRE version: " +
System.getProperty("java.version"));}}
{{ if (s1 == "abc") {}}
{{ }}}
{{ }}}
{{ public boolean equals(App i) {}}
{{ int j = this.hashCode();}}
{{ return this.equals(new App());}}
{{ }}}
{{}}}
The application displays the JRE version so when it was run it displayed
> The FindBugs plugin works with JDK8 but not with JDK10
> ------------------------------------------------------
>
> Key: NETBEANS-576
> URL: https://issues.apache.org/jira/browse/NETBEANS-576
> Project: NetBeans
> Issue Type: Bug
> Components: java - FindBugs
> Affects Versions: 9.0
> Reporter: Rick Hegarty
> Priority: Minor
>
> I created a trivial Java application with some issues for FindBugs to
> identify:
> {{package app;}}{{public class App {}}
> {{ static String s1; int j; Boolean b1;}}
> {{ public static void main(String[] args) {}}
> {{ System.out.println("JRE version: " +
> System.getProperty("java.version"));}}
> {{ if (s1 == "abc") {}}
> {{ }}}
> {{ }}}
> {{ public boolean equals(App i) {}}
> {{ int j = this.hashCode();}}
> {{ return this.equals(new App());}}
> {{ }}}
> {{}}}
> The application displays the JRE version so when it was run it displayed
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists