<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hi All,<br>
      <br>
      <font size="-1">In thi<font size="-1">s fix, I have</font> <font
          size="-1"><font size="-1">updated</font> <font size="-1">files
            in JDK libraries to use @Native <font size="-1">annotation
              inst<font size="-1">ead of @GenerateNativeHeader  to <font
                  size="-1">mark classes that contain no native m<font
                    size="-1">ethods bu<font size="-1">t </font></font>constan<font
                    size="-1">ts used by native codes<font size="-1">.<br>
                      <br>
                      @Generate<font size="-1">NativeHeader was added
                        earlier in the dev<font size="-1">elopment for
                          JDK<font size="-1">8.<font size="-1"> "This
                              has proved problematic for some core
                              classes with respect to Jigsaw, since the
                              use of such an annotation creates a
                              compile-time dependency from the base
                              module to the module containing
                              javax.tools, and the base module should
                              not have any dependencies." After sw<font
                                size="-1">itching</font> to @Native
                              annot<font size="-1">ation, <font
                                  size="-1">the dependency <font
                                    size="-1">problem will be solved as
                                    java.lang.annotation.Native is in
                                    the <font size="-1">proposed base
                                      module. <font size="-1">In
                                        addition, the anno<font
                                          size="-1">tation has been
                                          refined not to be on the <font
                                            size="-1">class level <font
                                              size="-1">but</font></font>
                                          on the <font size="-1">constants
                                            thems<font size="-1">elves<font
                                                size="-1">, which also
                                                makes the generated
                                                header files m<font
                                                  size="-1">uch cleaner.<br>
                                                  <br>
                                                  <font size="-1">This
                                                    effort is part of
                                                    JDK-8000404. After <font
                                                      size="-1">j<font
                                                        size="-1">dk
                                                        libraries
                                                        uptaking the <font
                                                          size="-1">annotation
                                                          changes,
                                                          @Generate<font
                                                          size="-1">NativeHeader
                                                          annotation
                                                          will be
                                                          removed
                                                          completely.</font></font></font></font></font><br>
                                                  <br>
                                                  <font size="-1">CCC:
                                                    <a class="moz-txt-link-freetext" href="http://ccc.us.oracle.com/8000404">http://ccc.us.oracle.com/8000404</a></font><br>
                                                  <font size="-1">webrev:
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~dxu/8000406/webrev/">http://cr.openjdk.java.net/~dxu/8000406/webrev/</a><br>
                                                    <br>
                                                    <font size="-1">Thanks
                                                      for your feedback<font
                                                        size="-1">!</font><br>
                                                      <br>
                                                      <font size="-1">-Dan</font><br>
                                                    </font><font
                                                      size="-1"><font
                                                        size="-1"><font
                                                          size="-1"></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font></font>
  </body>
</html>