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

TESTBUG: constDebug.java is failing with Segmentation violation on amd64 windows xp-pro

XMLWordPrintable

    • b02
    • x86
    • windows_xp

      tools\javac\constDebug\ConstDebug.java is failing with Segmentation violation on amd64 windows xp-pro for both 32 and 64 bit jdks but passing on x86(winXP Pro).

      How to Reproduce:
      =================
      Install jdk1.4.2_11 on amd64 windows-xp-pro or windows-xp-pro
      Copy attached constDebug.java and constDebug.sh
      set TESTSRC, TESTJAVA, TESTCLASSES and
      Execute the command
      $ksh constDebug.sh constDebug

      OUTPUT:
      ========

      AMD64(Windows xp pro)
      -------------------------
      [ strings ConstDebug.class
      236 Segmentation violation ksh


      x86(Windows xp pro)
      ------------------------
      [ strings ConstDebug.class
       grep clinit ]
      grep: input file "]": The system cannot find the file specified.
      [: [: not found
      + echo Passed
      Passed
      + exit 0

      Note: On x86 windows xp-pro even after an error thrown at grep command test is passing, but not on AMD.

            asaha Abhijit Saha
            skantesunw Srilatha Kante (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: