Selecting the Java Mapping

Ice provides two distinct Java mappings:

  • Java Compat
    This mapping is largely backward-compatible with prior Ice releases. Although Ice 3.7 no longer supports Java versions prior to Java 8, the "Compat" mapping does not depend on any Java 8-specific language or run-time features.

  • Java
    This is a new mapping that takes advantage of features in Java 8.

This chapter describes the Java mapping.

Selecting the Java Mapping

slice2java, the Slice-to-Java translator, generates code for the Java mapping by default.