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

warning: [deprecation] UTF_8 in Charsets has been deprecated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • Java - Library
    • 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

              pengzhouhu pengzhouhu
              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