You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Rick Hegarty (JIRA)" <ji...@apache.org> on 2018/04/03 02:48:00 UTC
[jira] [Updated] (NETBEANS-576) The FindBugs plugin works with JDK8
but not with JDK10
[ 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists