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

javah issue in prism-es2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • fx2.1
    • javafx
    • None
    • linux

      Problems with pickier javah in JDK 1.7, that was occasionally causing a build failure.

      compile-native-host:
           [exec] /opt/jdk1.7.0/bin/javah -force -o ../prism-es2-native/build/com_sun_prism_opengl_impl_gl2_GL2Impl$ARBVBOKey.h -jni -classpath ../prism-es2/build/classes com.sun.prism.opengl.impl.gl2.GL2Impl$ARBVBOKey
           [exec] /opt/jdk1.7.0/bin/javah -force -o ../prism-es2-native/build/com_sun_prism_opengl_impl_x11_glx_X11ExternalGLXContext.h -jni -classpath ../prism-es2-x11/build/classes com.sun.prism.opengl.impl.x11.glx.X11ExternalGLXContext
           [exec] Error: cannot access com.sun.prism.opengl.impl.GLContextImpl
           [exec] class file for com.sun.prism.opengl.impl.GLContextImpl not found
           [exec] make: *** [../prism-es2-native/build/com_sun_prism_opengl_impl_x11_glx_X11ExternalGLXContext.h] Error 1

      Note that I did not always see the build failure on Linux, but this sequence would hit it every time:

      # after a clean top level build
      cd rt-closed/prism-es2-native
      make clean
      cd ../prism-es2
      ant

            ddhill David Hill (Inactive)
            ddhill David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: