Skip to content

Commit b38e3f6

Browse files
author
Maxim Butov
committed
Version 1.1.0
1 parent 041dfcc commit b38e3f6

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Diff for: README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# The java deep cloning library
2+
# Java deep cloning library
33

44
[![build](https://github.com/sugar-cubes/sugar-cubes-cloner/actions/workflows/build.yml/badge.svg)](https://github.com/sugar-cubes/sugar-cubes-cloner/actions/workflows/build.yml)
55
[![maven central](https://maven-badges.herokuapp.com/maven-central/io.github.sugar-cubes/sugar-cubes-cloner/badge.svg)](https://search.maven.org/search?q=g:io.github.sugar-cubes+a:sugar-cubes-cloner)
@@ -10,19 +10,20 @@ Deep cloning of any objects.
1010
- Fast.
1111
- Thread safe.
1212
- Supports parallel execution.
13+
- Java 8 compatible.
1314

1415
Maven:
1516
```xml
1617
<dependency>
1718
<groupId>io.github.sugar-cubes</groupId>
1819
<artifactId>sugar-cubes-cloner</artifactId>
19-
<version>1.0.0</version>
20+
<version>1.1.0</version>
2021
</dependency>
2122
```
2223

2324
Gradle:
2425
```groovy
25-
implementation "io.github.sugar-cubes:sugar-cubes-cloner:1.0.0"
26+
implementation "io.github.sugar-cubes:sugar-cubes-cloner:1.1.0"
2627
```
2728

2829
It is recommended also to include [Objenesis](https://github.com/easymock/objenesis) library into your application.
@@ -184,7 +185,7 @@ It's possible to use annotations to configure field/type actions and custom type
184185
185186
There is three modes of execution: recursive, sequential (default) and parallel.
186187
187-
In sequential mode does not use recursion. Uses [DFS](https://en.wikipedia.org/wiki/Depth-first_search) (by default) or [BFS](https://en.wikipedia.org/wiki/Breadth-first_search) algorithm for the object graph traversal.
188+
In sequential mode does not use recursion. Uses [Depth-first](https://en.wikipedia.org/wiki/Depth-first_search) (by default) or [Breadth-first](https://en.wikipedia.org/wiki/Breadth-first_search) algorithm for the object graph traversal.
188189
189190
In parallel mode the order of copying is unpredictable.
190191
@@ -201,6 +202,10 @@ The library requires Java 8 or higher.
201202
202203
Default configuration of reflection cloner does not clone lambdas and method references. These can be cloned using [UnsafeObjectFactoryProvider](jdk8/src/main/java/org/sugarcubes/cloner/UnsafeObjectFactoryProvider.java).
203204
205+
Java 9+ restricts accessing objects members via Reflection API. To solve this one may
206+
- use `--illegal-access=permit` JVM argument (works on Java below 17);
207+
- use `--add-opens` JVM arguments, e.g. `--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.invoke=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED`.
208+
204209
### Versioning
205210
206211
[Semantic Versioning](https://semver.org).

Diff for: version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1-SNAPSHOT
1+
1.1.0

0 commit comments

Comments
 (0)