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

FileOutputStream_md.c should be merged into FileOutputStream.c

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 18
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b04
    • 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:
              bpb Brian Burkhalter
              Reporter:
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: