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

deprecation message for StringBufferInputStream is not issued on Win32

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_95

      Description


      masayoshi.okutsu@Eng 1997-01-06
      The deprecation message for StringBufferInputStream is not issued on
      Win32. The following is the deprecation message issued on Solaris. The
      same message must be issued on Win32 because the upper byte of each
      Unicode value are silently ignored.

      % /Java/JDK11/bin/javac StringBufferInputStream_test.java
      StringBufferInputStream_test.java:8: Note: class java.io.StringBufferInputStream
      has been deprecated. Please consult the documentation for a better alternative.
              StringBufferInputStream SBIS1 = new StringBufferInputStream("\uff12\u30d0\u30a4\u30c8a");
              ^
        :
        :

      4 warnings

        Attachments

          Activity

            People

            • Assignee:
              mr Mark Reinhold
              Reporter:
              okutsu Masayoshi Okutsu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: