Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8078

Build fails against IcedTea6 on Ubuntu

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1 M2
    • Component/s: [Build]
    • Labels:
      None

      Description

      LocalVariableTableParameterNameDiscovererTests.testMemUsage() fails under IcedTea6 on Ubuntu because Ubuntu builds and packages the JDK with debugging symbols turned on (per http://www.ubuntuupdates.org/packages/show/247685).

      In most cases, debugging symbols are OFF in JDK classes, and the test above operates on this assumption.

      The simplest solution is to eliminate (@Ignore) the test altogether – any attempt to check the JVM vendor and/or system type will still be fragile, and attempting to determine whether debug symbols are enabled (in order to exit early from the test) would require reimplementing much of what is trying to be tested anyway.

        Attachments

          Activity

            People

            • Assignee:
              cbeams Chris Beams
              Reporter:
              cbeams Chris Beams
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                7 years, 10 weeks, 5 days ago