Maurice-Betzel opened a new issue, #1293:
URL: https://github.com/apache/incubator-fury/issues/1293

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-fury/issues) and found no similar 
issues.
   
   
   ### Version
   
   Fury 0.4.1
   OS Win11 x64
   JDK openJDK 1.8
   
   ### Component(s)
   
   Java
   
   ### Minimal reproduce step
   
   Serializing org.apache.karaf.cellar.dosgi.RemoteServiceCall containing a 
LinkedBlockingQueue
   
   `Fury instance = Fury.builder()
                   .withLanguage(Language.JAVA)
                   .withMetaContextShare(false)
                   .withRefTracking(true)
                   .withIntCompressed(false)
                   .withLongCompressed(false)
                   .withStringCompressed(false)
                   .withCompatibleMode(CompatibleMode.COMPATIBLE)
                   .withClassVersionCheck(false)
                   .withJdkClassSerializableCheck(true)
                   .withDeserializeUnexistedClass(false)
                   .withAsyncCompilation(true)
                   .withCodegen(true)
                   .ignoreTimeRef(false)
                   .registerGuavaTypes(false)
                   .requireClassRegistration(false)
                   .suppressClassRegistrationWarnings(false)
                   .build();`
   
   ### What did you expect to see?
   
   As a drop in replacement for the default Java serialization it should 
support the whole Java JDK per default.
   
   ### What did you see instead?
   
   java.lang.RuntimeException: Serialize object of type class 
java.util.concurrent.LinkedBlockingQueue failed, Try to use class 
io.fury.serializer.JavaSerializer instead by `fury.registerSerializer(class 
java.util.concurrent.LinkedBlockingQueue, new JavaSerializer(fury, class 
java.util.concurrent.LinkedBlockingQueue))` or implement a custom class 
io.fury.serializer.Serializer.
   
   Caused by: io.fury.exception.InsecureException: Class 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject isn't in 
allow list for serialization. If this class is allowed for serialization, 
please add it to allow list by AllowListChecker#addAllowClass
   
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to