Clojure

Some java interop tests are fragile, fail under Java 12

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: Release 1.10
  • Fix Version/s: Release 1.10.1
  • Component/s: None
  • Labels:
  • Patch:
    Code and Test
  • Approval:
    Ok

Description

There are a few java-interop test failures when building Clojure under Java 12. Attached patch fixes these in a backward compatible way and should be less susceptible to new breakage with future Java versions.

  • test-bases: check that expected are a subset of the bases found (Java 12 finds some additional new interfaces)
  • test-supers: same thing
  • test-proxy-non-serializable: has per-Java serialized proxies. Added a Java 12 proxy and replaced test failure with a warning message to alert it should be updated (doesn't need to fail the build on a new version).

Patch: clj-2491.patch

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: