cloning icon indicating copy to clipboard operation
cloning copied to clipboard

deep clone java objects

Results 45 cloning issues
Sort by recently updated
recently updated
newest added

As in title, the error is: java.lang.reflect.InaccessibleObjectException: Unable to make field private static final sun.util.calendar.BaseCalendar java.util.Date.gcal accessible: module java.base does not "opens java.util" to unnamed module @76908cc0 JRE is Oracle's...

Hi! I run into this problem when running our application: ``` [ERROR] WARNING: An illegal reflective access operation has occurred [ERROR] WARNING: Illegal reflective access by com.rits.cloning.Cloner$CloneObjectCloner (file:/root/.m2/repository/io/github/kostaskougios/cloning/1.10.3/cloning-1.10.3.jar) to field...

The docs mention a version 1.11 for JDK (here: https://github.com/kostaskougios/cloning/blob/master/wiki/Usage.md), but the latest in the Maven Repository is 1.10.3. Is 1.11 available from somewhere?

Please make this library a Java module. That will make it easier to use the library in downstream libs and apps that are Java modules themselves. Probably the easiest thing...

Although deepClone is working fine for me in Java#10 but I am getting the warning messages: WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.rits.cloning.Cloner...

such as IDeepCloner interface ,why use "I" prefix named , I can't understand

Hi, would it be possible to bump objenesis to [3.2](http://objenesis.org/notes.html) - we're seeing some issues with android.

As these Classes don't exist anymore in newer Java versions, lines 115 and 116 in `src/main/java/com/rits/cloning/Cloner.java` always cause an exception to be thrown and caught. As exceptions are less efficient...

I recommend you to use sun.misc.Unsafe.allocateInstance(), the Objenesis will be not available when the class is dynamically generated(It causes NoClassDefFoundError like #100 and problems in #45).

I tried to use the library in this way > ``` > Cloner cloner=new Cloner(); > BufferedInputStream clonedBis = cloner.deepClone(bis); > //create a byte array > byte[] clonedContents = new...