[PATCH] TC_CLASS deserialization
Jukka Santala
kaffe@rufus.w3.org
Wed, 1 Aug 2001 15:12:18 +0300 (EET DST)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
---559023410-851401618-996667938=:21229
Content-Type: TEXT/PLAIN; charset=US-ASCII
This short patch should implement TC_CLASS type deserialization from
object-streams, which is required for example with Java Media Framework's
new registry-file loading. It appears to work properly with JMF 2.1.1
registry file at least, altough I'm new to Kaffe internals, hence no
serialization-side (output) support.
-Donwulff
---559023410-851401618-996667938=:21229
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="kaffe-CLASS.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.SOL.4.10.10108011512180.21229@morphine.tml.hut.fi>
Content-Description:
Content-Disposition: attachment; filename="kaffe-CLASS.patch"
PyBrYWZmZS1DTEFTUy5wYXRjaA0KSW5kZXg6IGxpYnJhcmllcy9qYXZhbGli
L2thZmZlL2lvL09iamVjdElucHV0U3RyZWFtSW1wbC5qYXZhDQo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09DQpSQ1MgZmlsZTogL2N2cy9rYWZmZS9rYWZmZS9s
aWJyYXJpZXMvamF2YWxpYi9rYWZmZS9pby9PYmplY3RJbnB1dFN0cmVhbUlt
cGwuamF2YSx2DQpyZXRyaWV2aW5nIHJldmlzaW9uIDEuNg0KZGlmZiAtdSAt
cjEuNiBPYmplY3RJbnB1dFN0cmVhbUltcGwuamF2YQ0KLS0tIGxpYnJhcmll
cy9qYXZhbGliL2thZmZlL2lvL09iamVjdElucHV0U3RyZWFtSW1wbC5qYXZh
CTIwMDAvMDYvMTUgMTY6MDg6NTQJMS42DQorKysgbGlicmFyaWVzL2phdmFs
aWIva2FmZmUvaW8vT2JqZWN0SW5wdXRTdHJlYW1JbXBsLmphdmEJMjAwMS8w
OC8wMSAxMTo1NTo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