Skip to content

Commit

Permalink
修复 JDK 8 及以下版本兼容问题
Browse files Browse the repository at this point in the history
  • Loading branch information
leovan committed Oct 20, 2023
1 parent 8df414e commit ad37fde
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [1.1.1](https://github.com/leovan/duckling-chinese/compare/v1.1.0...v1.1.1) (2023-10-20)

Duckling Core 版本:[1.5.3](https://mvnrepository.com/artifact/com.xiaomi.duckling/duckling-core_2.13/1.5.3)

### 修复

- 修复 JDK 8 及以下版本兼容问题

## [1.1.0](https://github.com/leovan/duckling-chinese/compare/v1.0.0...v1.1.0) (2023-10-19)

Duckling Core 版本:[1.5.3](https://mvnrepository.com/artifact/com.xiaomi.duckling/duckling-core_2.13/1.5.3)
Expand Down
3 changes: 2 additions & 1 deletion duckling_chinese/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def _start_jvm():
jvm_options = [
'-Xms128m',
'-Xmx2048m',
'-XX:+IgnoreUnrecognizedVMOptions',
'--illegal-access=permit',
'--add-opens=java.base/java.lang=ALL-UNNAMED',
'--add-opens=java.base/java.util=ALL-UNNAMED',
Expand Down Expand Up @@ -269,4 +270,4 @@ def parse_entities(
]


__version__ = '1.1.0'
__version__ = '1.1.1'
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>tech.leovan</groupId>
<artifactId>duckling-chinese</artifactId>
<packaging>jar</packaging>
<version>1.1.0</version>
<version>1.1.1</version>

<dependencies>
<dependency>
Expand Down

0 comments on commit ad37fde

Please sign in to comment.