Invention Grant
- Patent Title: Constructor accessibility checks for deserialization
-
Application No.: US16227290Application Date: 2018-12-20
-
Publication No.: US10853110B2Publication Date: 2020-12-01
- Inventor: Stuart Warren Marks , Alan Bateman
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Invoke
- Main IPC: G06F9/455
- IPC: G06F9/455 ; G06F9/448 ; G06F9/54 ; G06F8/41

Abstract:
Techniques for performing constructor accessibility checks during deserialization are disclosed. A system receives a command that requires deserializing a serialized object of a target type. The system determines an ancestor type of the target type. Without calling any constructors and regardless of whether the ancestor type is serializable, the system determines whether a constructor of the ancestor type is accessible to the target type. The system deserializes the serialized object only after determining that the constructor of the ancestor type is accessible to the target type.
Public/Granted literature
- US20200019423A1 CONSTRUCTOR ACCESSIBILITY CHECKS FOR DESERIALIZATION Public/Granted day:2020-01-16
Information query