JDK-7022337 : repeated warnings about bootclasspath not set
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-02-25
  • Updated: 2025-03-29
  • Resolved: 2011-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b134Fixed
Related Reports
Causes :  
Causes :  
Relates :  
Description
The source is irrelevant: the repeated warnings are the issue.

$ /opt/jdk/1.7.0/bin/javac -cp classes -source 6 -processor InjectorProc archive/PrintsSample/src/main/java/App.java 
warning: [options] bootstrap class path not set in conjunction with -source 1.6
archive/PrintsSample/src/main/java/App.java:14: Note: 
    public void test() {
                ^
  @SampleAnn()
  public void test() {
  }
warning: [options] bootstrap class path not set in conjunction with -source 1.6
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning

Comments
EVALUATION Suppress warnings about options once compilation begins.
25-02-2011