简体   繁体   中英

stringbuffer.reverse() is throwing UnsupportedOperationException:not supported yet

stringbuffer.reverse() is throwing UnsupportedOperationException:not supported yet

A few years ago this code was running fine, but now it's not working. Has this method gone obsolete?

StringBuffer was replaced more than ten years ago from Java 5.0 but it still works just fine. This error doesn't appear anywhere in the source for this class.

Is it possible you are using Java 1.0?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM