Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4865

warning: [deprecation] UTF_8 in Charsets has been deprecated

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Java - Library
    • Labels:
      None

      Description

      CI throws a number of warnings about deprecated stuff at Java:

      lib\java\test\org\apache\thrift\transport\TestTByteBuffer.java:12: warning: [deprecation] UTF_8 in Charsets has been deprecated
           byteBuffer.write("Hello World".getBytes(Charsets.UTF_8));
                                                           ^
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pengzhouhu pengzhouhu
                Reporter:
                jensg Jens Geyer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m