Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3387

Indexed runs annotation Processors with no CodeSource.location

    XMLWordPrintableJSON

Details

    Description

      An annotation processor attempts to locate "nearby" data files, where "nearby" means next to its JAR/class location. When run as part of NetBeans indexing, it is loaded by CachingArchiveClassLoader, which does not set the ProtectionDomain for the loaded classes at all.

      This is a difference from the environment that standard Javac creates, and may cause the Processor to throw exception and abort the compilation.

      Attachments

        Issue Links

          Activity

            People

              sdedic Svatopluk Dedic
              sdedic Svatopluk Dedic
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m