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

rename javax.tools.GenerateNativeHeader to java.lang.annotation.Native

    Details

    • Subcomponent:
    • Resolved In Build:
      b66
    • Verification:
      Not verified

      Description

      javax.tools.GenerateNativeHeader is a proposed new-in-8 annotation that is used by javac to help determine when to generate native headers. The package causes issues for JIgsaw, since we would like to use the feature on classes in the base module, but do not want any dependence from the base module to the module containing javax.tools.

      Furthermore, it is proposed that the annotation should be directly applied to the constant fields that need to be exported -- and not to the class as a whole.

      Given this, it is proposed to move/rename the annotation to java.lang.annotation.Native with TargetType FIELD.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                jjg Jonathan Gibbons
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: