Uploaded image for project: 'Commons Email'
  1. Commons Email
  2. EMAIL-112

DataSourceFileResolverTest fails under IBM JDK 1.4 and 1.6 running on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.3
    • Windows 7x64,
      java version "1.7.0"
      Java(TM) SE Runtime Environment (build pwi3270-20110906_01)
      IBM J9 VM (build 2.6, JRE 1.7.0 Windows 7 x86-32 20110810_88604 (JIT enabled, AOT enabled)
      J9VM - R26_Java726_GA_20110810_1208_B88592

    Description

      assertNull(toByteArray(dataSourceResolver.resolve("/images/does-not-exist.gif")));
      fails because IBM JDK under Windows assumes "/xxx" NOT to be absolute.

      Attachments

        1. EMAIL-112.patch
          1 kB
          Peter Kofler

        Activity

          People

            sgoeschl Siegfried Goeschl
            codecop Peter Kofler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: