Relates :
|
|
Relates :
|
JDK-8000405 :
|
|
JDK-8000406 :
|
|
JDK-8000407 :
|
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.