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

javah_g is used when building make/sun/awt with INCREMENTAL_BUILD=true set

XMLWordPrintable

    • x86
    • windows_2000

      I'm doing incremental builds from make/sun/awt directory (this is on
      windows-i586), and I have INCREMENTAL_BUILD set to 'true'.

      When I touch some of the exported java files listed in
      make/sun/awt/FILES_export_windows.gmk (for example,
      src/windows/classes/sun/java2d/opengl/WGLGraphicsConfig.java),
      javah is called twice, once for optimized build and once for debug build (actually, it's javah_g that's called the second time).

      This slows down the build and doesn't seem to be necessary.
      (I rebuild make/sun/awt/ a lot, and it adds up)

      Also, if INCREMENTAL_BUILD is not set, then sometimes only javah_g is called,
      meaning the opt. build doesn't call javah at all.

      ###@###.### 2005-2-01 22:58:10 GMT

            ohair Kelly Ohair (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: