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

FileOutputStream_md.c should be merged into FileOutputStream.c

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 7
    • 18
    • core-libs
    • b04
    • generic
    • 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

              bpb Brian Burkhalter
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: