harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject [classlib] how to verify private/package private field which is required by serialized form?
Date Sun, 26 Nov 2006 12:19:07 GMT
Hi folks,

I encountered a problem when writing serialization test for SerialJavaObject
class. There're two fields are required by serialized form: Object obj, and
Vector chain. But there's no public method is available to get chain
variable. The question comes:
How can I verify deserilized object, by reflection? How do we handle such
problem in other modules? Any suggestions?

Thanks in adavance!

-- 
Best regards,
Andrew Zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message