Error in FFM tests due to primitive type conversion and boxing

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 25
    • Component/s: core-libs

      In `TestMemoryAlignment::testUnalignedAccess`, there is an `assertNotEquals(align, 8)` that causes boxing and as the
      parameter types are `long` and `int`, they get wrapped into `Long`
      and `Integer`, and those instances never equal, so the assert
      vacuously passes, regardless of the numeric values.

      Other issues exist in `TestByteBuffer` L362 and L327, where an exception is caught, sometimes a SkipException is thrown, otherwise the exception is ignored.

            Assignee:
            Per-Ake Minborg
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: