ADDITIONAL SYSTEM INFORMATION :
openjdk version "12-ea" 2019-03-19
OpenJDK Runtime Environment (build 12-ea+30)
OpenJDK 64-Bit Server VM (build 12-ea+30, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
The ConstantDesc interface is a new feature in JDK 12 for describing more types of data in a static and nominal manner. This means it should be inherently simple to give Serializable implementations for most if not all ConstantDesc . This feature would be very useful when reworking a design to use Serializable instead of ConstantDescs embedded in class files (ConstantDesc are not "lazy" enough for certain purposes such as templating) or vice-versa.
This might be inappropriate for DynamicConstantDesc by default and some cases such as VarHandleDesc though.
openjdk version "12-ea" 2019-03-19
OpenJDK Runtime Environment (build 12-ea+30)
OpenJDK 64-Bit Server VM (build 12-ea+30, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
The ConstantDesc interface is a new feature in JDK 12 for describing more types of data in a static and nominal manner. This means it should be inherently simple to give Serializable implementations for most if not all ConstantDesc . This feature would be very useful when reworking a design to use Serializable instead of ConstantDescs embedded in class files (ConstantDesc are not "lazy" enough for certain purposes such as templating) or vice-versa.
This might be inappropriate for DynamicConstantDesc by default and some cases such as VarHandleDesc though.