Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6633375

FileOutputStream_md.c should be merged into FileOutputStream.c

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic
    • OS:
      generic

      Description

      Once bug

      6631352: File{OutputStream,Writer} should implement atomic append mode using FILE_APPEND_DATA (win)

      is fixed, the windows and unix versions of FileOutputStream_md.c
      will be almost identical. They can be merged into one platform-independent file,
      for maintainability.

      Other refactorings are possible, e.g.
      passing the file descriptor/HANDLE explicitly as a jlong instead of accessing
      implicitly via JNI reflection.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                martin Martin Buchholz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: