[
https://issues.apache.org/jira/browse/NETBEANS-3285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brad Walker closed NETBEANS-3285.
---------------------------------
Fix Version/s: 11.3
Resolution: Fixed
merged and closing..
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 11.3
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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: [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