{"id":97896,"date":"2024-06-18T10:39:47","date_gmt":"2024-06-18T02:39:47","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=97896"},"modified":"2024-06-18T10:39:47","modified_gmt":"2024-06-18T02:39:47","slug":"java-hutool-bug","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/java-hutool-bug.html","title":{"rendered":"Java \u5de5\u5177\u96c6 Hutool 4.0.8 \u53d1\u5e03"},"content":{"rendered":"

Hutool\u662f\u4e00\u4e2aJava\u5de5\u5177\u5305\uff0c\u4e5f\u53ea\u662f\u4e00\u4e2a\u5de5\u5177\u5305\uff0c\u5b83\u5e2e\u52a9\u6211\u4eec\u7b80\u5316\u6bcf\u4e00\u884c\u4ee3\u7801\uff0c\u51cf\u5c11\u6bcf\u4e00\u4e2a\u65b9\u6cd5\uff0c\u8ba9Java\u8bed\u8a00\u4e5f\u53ef\u4ee5\u201c\u751c\u751c\u7684\u201d\u3002Hutool\u6700\u521d\u662f\u6211\u9879\u76ee\u4e2d\u201cutil\u201d\u5305\u7684\u4e00\u4e2a\u6574\u7406\uff0c\u540e\u6765\u6162\u6162\u79ef\u7d2f\u5e76\u52a0\u5165\u66f4\u591a\u975e\u4e1a\u52a1\u76f8\u5173\u529f\u80fd\uff0c\u5e76\u5e7f\u6cdb\u5b66\u4e60\u5176\u5b83\u5f00\u6e90\u9879\u76ee\u7cbe\u9ad3\uff0c\u7ecf\u8fc7\u81ea\u5df1\u6574\u7406\u4fee\u6539\uff0c\u6700\u7ec8\u5f62\u6210\u4e30\u5bcc\u7684\u5f00\u6e90\u5de5\u5177\u96c6\u30024.0.8<\/p>\n

\u65b0\u7279\u6027<\/strong><\/span><\/div>\n

\u3010core\u3011\u65b0\u589ePinyinComparator\u3001CollUtil\u65b0\u589esortByPinyin\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010json\u3011JSONUtil\u589e\u52a0xmlToJson\u65b9\u6cd5<\/p>\n

\u3010poi\u3011 ExcelWriter\u589e\u52a0setColumnWidth\u548csetRowHeight\u65b9\u6cd5<\/p>\n

\u3010core\u3011FileUtil.clean\u589e\u52a0\u5b57\u7b26\u4e32\u91cd\u8f7d\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011ArrayUtil\u589e\u52a0insert\u65b9\u6cd5\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011RandomUtil.randomDouble\u589e\u52a0\u53ef\u9009\u4fdd\u7559\u5c0f\u6570\u91cd\u8f7d\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011\u589e\u52a0RandomUtil.randomDay\u968f\u673a\u5929\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010poi\u3011 ExcelWriter\u589e\u52a0setOrCreateSheet\u65b9\u6cd5\uff0c\u4ece\u800c\u652f\u6301\u591asheet\u751f\u6210<\/p>\n

Bug\u4fee\u590d<\/strong><\/span><\/div>\n

\u3010json\u3011\u4fee\u590dJSONArray\u4e2daddAll\u52a0\u5165\u4e24\u6b21\u7684bug\uff08\u611f\u8c22@\u3010\u5929\u6d25\u3011\u3013\u4e0b\u9875\uff09<\/p>\n

\u3010core\u3011\u4fee\u590dBeanDesc\u4e2d\u5bf9static\u5c5e\u6027\u672a\u5ffd\u7565\u7684\u95ee\u9898\uff08\u611f\u8c22@\u3010\u6df1\u5733\u3011\u67ab\u6797\u6653\u5bd2\uff09<\/p>\n

\u3010http\u3011\u89e3\u51b3\u65e0\u6cd5\u79fb\u9664\u9ed8\u8ba4\u5934\u4fe1\u606f\u7684\u95ee\u9898<\/p>\n

\u3010core\u3011\u4fee\u590dBase64\u5728decode\u65f6\u9488\u5bf9urlSafe\u4e71\u7801\u95ee\u9898\uff08issue#89@Github\uff09<\/p>\n

\u3010core\u3011\u4fee\u590dReUtil.extractMulti(\u611f\u8c22@\u3010\u676d\u5dde\u3011\u5f90\u627f\u6069)<\/p>\n

\u3010core\u3011\u4fee\u590dDESede\u7c7b\u4e2d\u7b97\u6cd5\u9519\u8bef\u95ee\u9898\uff08issue#93@Github\uff09<\/p>\n

4.0.7<\/p>\n

\u65b0\u7279\u6027<\/strong><\/span><\/div>\n

\u3010core\u3011\u65b0\u52a0math\u5305\uff0c\u5e76\u6dfb\u52a0MathUtil\u5de5\u5177\u7c7b\uff08\u6392\u5217\u7ec4\u5408\u8fc1\u5165\u6b64\uff09<\/p>\n

\u3010core\u3011StrUtil\u589e\u52a0move\u65b9\u6cd5\uff0c\u5b57\u7b26\u4e32\u4f4d\u79fb\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011ArrayUtil\u7684max\u548cmin\u91c7\u7528\u53ef\u53d8\u53c2\u6570\uff08T[]\u9664\u5916\uff09\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011NumberUtil\u589e\u52a0max\u548cmin\u65b9\u6cd5\uff0c\u4e0eArrayUtil\u4e00\u81f4\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010poi\u3011 \u53bb\u9664InternalExcelUtil\uff0c\u6839\u636e\u529f\u80fd\u65b0\u589eWorkbookUtil\u3001RowUtil\u3001CellUtil\u3001ExcelPicUtil<\/p>\n

\u3010core\u3011\u65b0\u589ePinyinUtil\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011StrUtil\u589e\u52a0wrapAll\u3001wrapAllIfMissing\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010core\u3011Singleton\u589e\u52a0put\u65b9\u6cd5<\/p>\n

\u3010core\u3011Convert\u589e\u52a0convertByClassName\u65b9\u6cd5<\/p>\n

\u3010json\u3011JSONUtil\u589e\u52a0toList\u5feb\u6377\u65b9\u6cd5<\/p>\n

Bug\u4fee\u590d<\/strong><\/span><\/div>\n

\u3010core\u3011\u4fee\u590d\u6392\u5217\u7ec4\u5408\u7ed3\u679c\u9519\u8bef\u95ee\u9898\uff08\u611f\u8c22@\u3010\u5e1d\u90fd\u3011\u5b81\u9759\uff09<\/p>\n

\u3010poi\u3011 \u4fee\u590dStrUtil.unWrap\u4f20\u5165null\u5bfc\u81f4\u7684\u8d8a\u754c\u95ee\u9898\uff08issue#II1VU@Gitee\uff09<\/p>\n

\u3010core\u3011\u4fee\u590dImageUtil.sliceByRowsAndCols\u65b9\u6cd5\u8ba1\u7b97\u9519\u8bef\uff08\u611f\u8c22@\u3010\u5510\u5c71\u3011\u5c0f\u866b\uff09<\/p>\n

\u3010core\u3011\u4fee\u590dStrUtil.replace\u95ee\u9898\uff08\u611f\u8c22@\u3010\u973e\u90fd\u3011QQ\u5c0f\u51b0\uff09<\/p>\n

\u3010core\u3011\u4fee\u590dFileTypeUtil\u5bf9jpg\u7684\u8bc6\u522b\u8303\u56f4\uff08issue#91@Github\uff09<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.oschina.net\/news\/94432\/hutool-4-0-8-released<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/java-hutool-bug.html<\/a>\u7f16\u8f91\uff1a\u5f20\u96c4\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

Hutool\u662f\u4e00\u4e2aJava\u5de5\u5177\u5305\uff0c\u4e5f\u53ea\u662f\u4e00\u4e2a\u5de5\u5177\u5305\uff0c\u5b83\u5e2e\u52a9\u6211\u4eec\u7b80\u5316\u6bcf\u4e00\u884c\u4ee3\u7801\uff0c\u51cf\u5c11\u6bcf\u4e00\u4e2a\u65b9\u6cd5\uff0c\u8ba9Java\u8bed\u8a00\u4e5f […]<\/p>\n","protected":false},"author":643,"featured_media":97897,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-97896","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/97896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/643"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=97896"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/97896\/revisions"}],"predecessor-version":[{"id":97957,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/97896\/revisions\/97957"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/97897"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=97896"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=97896"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=97896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}