mirror of
https://gitee.com/dromara/hutool.git
synced 2026-02-09 09:16:26 +08:00
OsInfo增加isWindows11方法(pr#4054@Github)
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
* 【core 】 `ReferenceUtil`增加`get`方法
|
||||
* 【db 】 `Condition`增加构造方法支持BETWEEN(issue#4041@Github)
|
||||
* 【core 】 `IoUtil.writeObjects`判空避免空指针(issue#4049@Github)
|
||||
* 【extra 】 `OsInfo`增加`isWindows11`方法(pr#4054@Github)
|
||||
|
||||
### 🐞Bug修复
|
||||
* 【core 】 修复`ReflectUtil`中因class和Method关联导致的缓存无法回收问题(issue#4039@Github)
|
||||
|
||||
@@ -352,6 +352,7 @@ public class OsInfo implements Serializable{
|
||||
* </p>
|
||||
*
|
||||
* @return 如果当前OS类型为Windows 11,则返回{@code true}
|
||||
* @since 5.8.41
|
||||
*/
|
||||
public final boolean isWindows11() {
|
||||
return IS_OS_WINDOWS_11;
|
||||
|
||||
Reference in New Issue
Block a user