javamoney
  1. javamoney
  2. JAVAMONEY-71

Get rid of Serializable in API or fix Spec if we can't

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: API, Spec: Specification
    • Labels:
      None

      Description

      The use of Serializable in the API rather than RI (at least by every *Context class and ExchangeRate breaks compatibility with Java ME.
      Serializable does not exist even in ME 8.

      The corresponding notes in the Spec (=== EE and ME Support and a few other paragraphs) are incomplete, as they don't include Serializable. It seems OK for a (currently SE only) RI like Moneta, but should be removed from the API.

      If that wasn't possible, the only alternative is to scrap notes about ME compatibility, and (similar to e.g. JSR 353) require a "down-grade" or fork of the API for ME.

        Activity

        Hide
        keilw added a comment -

        This seems not desired or doable for some classes, at least concrete classes like AbstractContext.

        Show
        keilw added a comment - This seems not desired or doable for some classes, at least concrete classes like AbstractContext.
        Hide
        keilw added a comment - - edited

        Given the usage of Serializable and SE 8 features by the API, this makes little sense.

        Show
        keilw added a comment - - edited Given the usage of Serializable and SE 8 features by the API, this makes little sense.

          People

          • Assignee:
            atsticks
            Reporter:
            keilw
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: