Avro
  1. Avro
  2. AVRO-1313

Java: Add system property for disabling sun.misc.Unsafe

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.5
    • Component/s: None
    • Labels:
      None

      Description

      We should be able to disable use of sun.misc.Unsafe.

      I propose that if the system property "avro.disable.unsafe" is non-null, we use reflection rather than Unsafe.

      1. AVRO-1313-v2.patch
        2 kB
        Scott Carey
      2. AVRO-1313.patch
        1 kB
        Scott Carey

        Activity

        Scott Carey created issue -
        Scott Carey made changes -
        Field Original Value New Value
        Fix Version/s 1.7.5 [ 12324096 ]
        Scott Carey made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Scott Carey made changes -
        Attachment AVRO-1313.patch [ 12581194 ]
        Scott Carey made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Scott Carey made changes -
        Assignee Scott Carey [ scott_carey ]
        Scott Carey made changes -
        Attachment AVRO-1313-v2.patch [ 12581266 ]
        Scott Carey made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Scott Carey
            Reporter:
            Scott Carey
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development