Skip to content

[native-image] UnsupportedFeatureError: ObjectOutputStream.writeObject() #460

@cushon

Description

@cushon

I ran into this stack trace using native-image on an application that uses Java serialization:

com.oracle.svm.core.jdk.UnsupportedFeatureError: ObjectOutputStream.writeObject()
	at java.lang.Throwable.<init>(Throwable.java:265)
	at java.lang.Error.<init>(Error.java:70)
	at com.oracle.svm.core.jdk.UnsupportedFeatureError.<init>(UnsupportedFeatureError.java:29)
	at com.oracle.svm.core.jdk.Target_com_oracle_svm_core_util_VMError.unsupportedFeature(VMErrorSubstitutions.java:98)
	at com.oracle.svm.core.jdk.Target_java_io_ObjectOutputStream.writeObject(JavaIOSubstitutions.java:67)

I didn't see a discussion of serialization in LIMITATIONS.md. Is this something you plan to support and haven't gotten to yet, or is serialization not supported?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions