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

build-infra: Need --with-dxsdk option? And awt/sound -I option additions?



    • Bug
    • Resolution: Fixed
    • P2
    • 8
    • None
    • infrastructure
    • b81
    • Not verified


      We need to add DirextX SDK -I options back into the awt/sound compilations and add in a --with-dxsdk configure option.

      Begin forwarded message:

      From: Erik Joelsson <erik.joelsson@oracle.com>
      Subject: Re: Fwd: DirectX SDK
      Date: January 15, 2013 1:31:35 AM PST
      To: Kelly O'Hair <kelly.ohair@oracle.com>
      Cc: Tim Bell <tim.bell@oracle.com>

      On 2013-01-14 18:10, Kelly O'Hair wrote:

      I think this means we better be putting the -I$(DXSDK) options in the awt/sound compiles in the right place
      if we want them to find the right Include files.

      Sounds like we have a bug, and we might expect a few Windows sound/awt test failures if we don't fix it. :^(

      How did we manage to remove the DXSDK -I option from the awt and sound compiles?

      It was assumed that it wasn't needed since it compiled anyway. The old build also compiles fine without setting the DXSDK variable. This led us (here in Stockholm) to believe that it was legacy like so many other things in the old makefiles. If we think we need to add it back, we should file a bug and do it.


      Begin forwarded message:

      From: Phil Race <philip.race@oracle.com>
      Subject: Re: DirectX SDK
      Date: January 14, 2013 9:00:53 AM PST
      To: Kelly O'Hair <kelly.ohair@oracle.com>
      Cc: Tim Bell <tim.bell@oracle.com>, Erik Joelsson <erik.joelsson@oracle.com>

      We were built against a very specific stable version.
      Random versions caused problems.
      So in general FX and Java2D *choose* the version they want.

      Perhaps we can upgrade to something later, but changing this policy isn't
      something that should happen as part of build-infra and we have no
      cycles to deal with fall out.


      On 1/14/2013 8:21 AM, Kelly O'Hair wrote:

      It is appearing like the VS2010 install includes the v7.0A SDK, which has the DirectX SDK include files needed
      for jdk8 (sound and awt have this dependence as far as I can tell).
      Erik discovered that he could build the entire JDK8 without having DirectX SDK installed at all.

      Is it possible that we can stop documenting the dependency on DirectX SDK in the README-Builds.html file?
      Maybe we don't need it anymore?



        Issue Links



              erikj Erik Joelsson
              ohair Kelly Ohair (Inactive)
              0 Vote for this issue
              2 Start watching this issue