Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Activity

        Hide
        Chris Beams added a comment -

        Resolved by ignoring the test for reasons described above. Also renamed the test method to something more intuitive.

        Show
        Chris Beams added a comment - Resolved by ignoring the test for reasons described above. Also renamed the test method to something more intuitive.

          People

          • Assignee:
            Chris Beams
            Reporter:
            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:
              3 years, 4 weeks, 4 days ago