Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 1 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

java.lang.Class serialization

At 7:51 AM on Nov 7, 2007, Daniel Travin wrote:

Hello people,

is there any solution how to serialize the class in runtime ?

For example, if I have class A and I want to serialize new A().getClass(), then I get something, but not exactly the class bytes.

I do testing of a custom classloader that does bytecode modification. I want to compare the initial class and loaded class.

Daniel.
1 . At 5:35 PM on Nov 12, 2007, John Rizzo wrote:
  Click to reply to this thread Reply

Re: java.lang.Class serialization

Hi Daniel,

I fear this JavaBlackBelt forum is not relevant for that kind of question. I suggest you another Javalobby forum area or JavaRanch for that kind of question.

By the way, why do you want to serialize a class. Do you expect to obtain the bytecode ? the content of the .class file ? You may think about that when formulating your question on the other forum.

Kind regards.
John.
JavaBlackBelt.com

thread.rss_message