You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Brad Walker (Jira)" <ji...@apache.org> on 2020/07/06 05:34:00 UTC

[jira] [Commented] (NETBEANS-4515) remove use of proprietary API - ARRAYLENGTH

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

Brad Walker commented on NETBEANS-4515:
---------------------------------------

fixed and integrated..

> remove use of proprietary API - ARRAYLENGTH
> -------------------------------------------
>
>                 Key: NETBEANS-4515
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4515
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Brad Walker
>            Assignee: Brad Walker
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The code has a test case that uses a proprietary API field - ARRAYLENGTH..
> {code:java}
> ...
>  [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release
>  [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;
>  [nb-javac]                                                ^
>  [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release
>  [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;
>  [nb-javac]                                                ^
>  [nb-javac] /home/travis/build/apache/netbeans/java/java.source.base/test/unit/src/org/netbeans/api/java/source/gen/SeparatorTest.java:21: warning: ARRAYLENGTH is internal proprietary API and may be removed in a future release
>  [nb-javac] import com.sun.org.apache.bcel.internal.generic.ARRAYLENGTH;
>  [nb-javac]                                                ^
> ...
> {code}
> Remove the import of this class as it's not used and causes spurious warnings..



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

---------------------------------------------------------------------
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