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

Several missing image files needed by the Swing, JDK mustang b32

XMLWordPrintable

    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b32)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b32, mixed mode, sharing)


      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]
      CYGWIN_NT-5.1

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Using windows XP service pack2
      Along with recent version of Cygwin, including "make 3.8.0"



      A DESCRIPTION OF THE PROBLEM :
      When building the later Mustang JDK snapshots, build 32. The build fails on WindowsXP when compiling the "swing" classes. It seems like a missing file problem. Several of these particular gif/png files are not located where the Makefile target can see them.

      For example, in

      ./j2se/make/javax/swing/plaf/FILES.gmk

      contains a list of image files needed by the build process. They seem to be missing.

      For example, most of them listed above:

      $(CLASSBINDIR)/com/sun/java/swing/plaf/windows/icons/Computer.gif

      Further investigation lead me to this directory where CLASSBINDIR =
      .\j2se\src\share\classes\ com/sun/java/swing/plaf/windows/icons/

      Here are some more missing files:

       $(CLASSBINDIR)/com/sun/java/swing/plaf/windows/icons/Computer.gif $(CLASSBINDIR)/com/sun/java/swing/plaf/windows/icons/DetailsView.gif $(CLASSBINDIR)/com/sun/java/swing/plaf/windows/icons/Directory.gif $(CLASSBINDIR)/com/sun/java/swing/plaf/windows/icons/Error.gif


      REGRESSION. Last worked in version mustang

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Setup up the build process for Windows with Cygwin and type 'make scsl'

      and 'make clobber' to clean the build

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expected a successful build Something similar to below:

      <<Finished Recursively making naming all @ Tue Apr 26 01:04:09 EST 2005.
      >>Recursively making print all @ Tue Apr 26 01:04:09 EST 2005 ...
      ake[4]: Entering directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing'
      ake[4]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing'
      ..
      ...
      ACTUAL -
      C:/cygwin/bin/cp.exe ../../../../src/share/classes/javax/swing/plaf/basic/icons/
      JavaCup16.png c:/Berlin/JDK/src/control/build/windows-i586/classes/javax/swing/p
      laf/basic/icons/JavaCup16.png
      make[5]: *** No rule to make target `c:/Berlin/JDK/src/control/build/windows-i58
      6/classes/javax/swing/plaf/metal/icons/Error.gif', needed by `other_files'. Sto
      p.
      make[5]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing/pla
      f'
      make[4]: *** [plaf] Error 1
      make[4]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing'
      make[3]: *** [all] Error 1
      make[3]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax'
      make[2]: *** [all] Error 1
      make[2]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make'
      make[1]: *** [j2se-build] Error 2
      make[1]: Leaving directory `/cygdrive/c/Berlin/JDK/src/control/make'

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      C:/cygwin/bin/cp.exe ../../../../src/share/classes/javax/swing/plaf/basic/icons/
      JavaCup16.png c:/Berlin/JDK/src/control/build/windows-i586/classes/javax/swing/p
      laf/basic/icons/JavaCup16.png
      make[5]: *** No rule to make target `c:/Berlin/JDK/src/control/build/windows-i58
      6/classes/javax/swing/plaf/metal/icons/Error.gif', needed by `other_files'. Sto
      p.
      make[5]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing/pla
      f'
      make[4]: *** [plaf] Error 1
      make[4]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax/swing'
      make[3]: *** [all] Error 1
      make[3]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make/javax'
      make[2]: *** [all] Error 1
      make[2]: Leaving directory `/cygdrive/c/Berlin/JDK/src/j2se/make'
      make[1]: *** [j2se-build] Error 2
      make[1]: Leaving directory `/cygdrive/c/Berlin/JDK/src/control/make'

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      I could search the internet and various other sources to find these particular image files and place in the above directories.
      ###@###.### 2005-04-27 13:43:05 GMT

            ohair Kelly Ohair (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: