some puzzles about Openjdk
Liu lianshun
lsliu0507 at gmail.com
Wed Apr 8 04:17:29 UTC 2009
Hi,
I've some puzzles from my recent learning about OpenJDK7.0.
Firstly, I want to know that whether I can change the java programes' behavior via changing some source files in OpenJDK, for examples, execute the following codes will print "100".
int i=100;
System.out.println(i);
My question is that how to print "200", without changing the source codes. Is it possible?
Secondly, the number of files in the OpenJDK project is very large, I want to know how these files are structured. Besides, how can I debug the project? For examples, When I run HelloWorld, I use the command "java HelloWorld", I want to know how the OpenJDK interpret this command, I think the best way is reading the source codes, but I don't know where to start.
Best regards,
Lianshun Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20090408/e9899eb5/attachment.htm>
More information about the build-dev
mailing list