You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Martin Klähn (Jira)" <ji...@apache.org> on 2019/11/25 20:54:00 UTC

[jira] [Created] (NETBEANS-3450) remove warning related to

Martin Klähn created NETBEANS-3450:
--------------------------------------

             Summary: remove warning related to 
                 Key: NETBEANS-3450
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3450
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Martin Klähn
            Assignee: Martin Klähn


There are compiler warnings about rawtype usage with a Stream like the following
{code:java}
   [repeat] /Users/martin/Repositories/git/netbeans/ide/extexecution.process.jdk9/src/org/netbeans/modules/extexecution/process/jdk9/ProcessesImpl.java:77: warning: [rawtypes] found raw type: Stream
   [repeat]             try (Stream s = (Stream) PROCESS_HANDLE_DESCENDANTS.invoke(handle, (Object[]) null)) {
   [repeat]                  ^
   [repeat]   missing type arguments for generic class Stream<T>
   [repeat]   where T is a type-variable:
   [repeat]     T extends Object declared in interface Stream
{code}
The aim is to change the code such that these warnings are no longer emitted by the compiler.

 



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