Brad Walker created NETBEANS-3285:
-------------------------------------

             Summary: cleanup bootstrap class path..
                 Key: NETBEANS-3285
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3285
             Project: NetBeans
          Issue Type: Improvement
            Reporter: Brad Walker
            Assignee: Brad Walker


There are a lot of places where we see the following warning..

 

 
{code:java}
...
up-to-date:
compile:
 [nb-javac] Compiling 31 source files to 
/home/bwalker/src/netbeans/platform/openide.util.lookup/build/classes
 [repeat] warning: [options] bootstrap class path not set in conjunction with 
-source 1.7
 [repeat] 
/home/bwalker/src/netbeans/platform/openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java:112:
 warning: [rawtypes] found raw type: R
 [repeat] Collection<Reference<R>> arr;
 [repeat] ^
...
{code}
 

The warning is telling us that we are compiling for Java 1.7 source. Yet, we 
are using a different *_rt.jar._*

This can be a problem going forward.

A really good Oracle blog, from a friend, about this is 
[here|https://blogs.oracle.com/darcy/new-javac-warning-for-setting-an-older-source-without-bootclasspath]

There are some more places to clean this up. But, I decided to stop here to 
make the code review easier.

 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to