Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-473

Build failure with Java 12

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: Build process, Utilities
    • Labels:
      None

      Description

      Building Apache SIS with Java 12 cause the following test failure:

      ConverterRegistryTest.testNumberToMiscellaneous:295
      After ObjectToString.Number[4] expected:
      
        ├─[Object   ]     ← Number>
      
       but was:
      
        ├─[Constable]     ← Number>
      

      Seems to be a side effect o java.lang.Number subclasses now implementing the java.lang.Constable interface (new in Java 12).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                desruisseaux Martin Desruisseaux
                Reporter:
                desruisseaux Martin Desruisseaux
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: