javac really preprocessing?

Everyone knows you can see API's java code unpacking src.zip.

So, imagine that you call internalMethod(var) in you application. And suppose that you see e.g. in src.zip:

public static void internalMethod(int var)

{

//The real implementation,whitout native modifiers

}

Does it mean javac internally preprocesses the code getting it changed as said in src.zip?

Or, by the other hand, javac directly compiles the code and it already knows the real implementation of every API's method?

I don't have any experiences with compilers. I'm sorry.

Anyone can help me, please?

[632 byte] By [developer_studenta] at [2007-10-3 0:10:32]
# 1

I'm not sure I understand what you are asking, but src.zip is just text files with source code. The classes included with the jdk are already compiled and exist in various jar files that are installed with the jdk. When javac compiles, it finds the .class files inside those jar files. javac does not need to compile them.

atmguya at 2007-7-14 17:00:03 > top of Java-index,Developer Tools,Java Compiler...
# 2
Yes, it's just what I wanted to know.Thanks!
developer_studenta at 2007-7-14 17:00:03 > top of Java-index,Developer Tools,Java Compiler...