XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 31422

    Description

      When values of ValuedEnum are defined as final (as the JavaDoc suggests),
      then all classes that use this enum will hold the value itself and not reference
      after compilation. Compiler substitutes references to final with the value of
      final variable itself. Then if you change the value in you enum and recompile
      it, you must recompile also all the classes that use the enum. Otherwise they
      continue to use old value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            itzik.levin@verint.com Itzik Levin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: