How to read JDK source?

H

hiwa

I'd like to know the mechanism in which interruptible blocking
methods, such as Object.wait() and Thread.sleep(), could
make and throw an InterruptedException from a result of
their native counterparts.

I have downloaded the JDK 1.5 source and the GNU global
program(gtags and htags) has made a gigantic set of HTMLs
linking source files and symbols in them. However, I could not
find the bridge part that should span between Java method
declations and their native implementations for each OS
platform.

Then comes the title of the question: Could someone know,
how to read the JDK source effectively?
 
H

Hendrik Maryns

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hiwa schreef:
I'd like to know the mechanism in which interruptible blocking
methods, such as Object.wait() and Thread.sleep(), could
make and throw an InterruptedException from a result of
their native counterparts.

I have downloaded the JDK 1.5 source and the GNU global
program(gtags and htags) has made a gigantic set of HTMLs
linking source files and symbols in them. However, I could not
find the bridge part that should span between Java method
declations and their native implementations for each OS
platform.

Then comes the title of the question: Could someone know,
how to read the JDK source effectively?

Most IDEs support this very nicely, but not for native methods. I have
no idea how to get to them, I even think they are a jvm-thing?

H.

- --
Hendrik Maryns

==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFErMFce+7xMGD3itQRAq75AJ41NCwrZLntViJzkRP8+CC5TAtqqwCfeMMN
SsLe/nncpPvYA9+1IFVi9OA=
=AKGm
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,051
Members
48,769
Latest member
Clifft

Latest Threads

Top