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

deprecation message for StringBufferInputStream is not issued on Win32

XMLWordPrintable

    • x86
    • windows_95


      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: