Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6654263

-processorpath interferes with -implicit:none

XMLWordPrintable

    • generic
    • generic

        Using -implicit:none works as expected if no annotation processing is done (ie no processorpath specified). In this case it generates classes as expected for source files on the command line.

        But, specify -processorpath, and no class files get generated. Ever.

        For any trivial casse Foo, try the following:

        gzilla[6u10-issues]% ./build/solaris-sparc/installvm/bin/javac -processorpath ../nofp/dist/nofp.jar -implicit:none play/Foo.java
        gzilla[6u10-issues]% ls play
        Foo.java Foo.java~
        gzilla[6u10-issues]% ./build/solaris-sparc/installvm/bin/javac -implicit:none play/Foo.java
        gzilla[6u10-issues]% ls play
        Foo.class Foo.java Foo.java~
        gzilla[6u10-issues]%

              jjg Jonathan Gibbons
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: