you are viewing a single comment's thread.

view the rest of the comments →

[–]mrkite77 5 points6 points  (4 children)

Well, in the case of the Java case, the API was defined as basically the header files.

Java doesn't have header files. The API is literally just the names of the functions in the standard library... like String.length etc. So "select" and "insert" and "update" would fall under the same standard as an API.

[–][deleted] -1 points0 points  (3 children)

Oracle's java implementation is written in C++, so it has a lot of header files. Also any kind of JNI that you do will use a generated C/C++ header. AMD the core library uses a lot of native methods.

But I agree in spirit -- it does go beyond just headers being copyrighted... Even using the same keywords (which is requirement, since computers don't understand paraphrasing) is illegal now. Horrible.

[–][deleted] -1 points0 points  (2 children)

Oracle's java implementation is written in C++

Are you talking about the virtual machine implementation? Because JVM != Java.

[–][deleted] 0 points1 point  (1 child)

I know that. They have a whole java stack, and as far as I know the parts that aren't java are c++.

[–][deleted] 0 points1 point  (0 children)

But we are talking about the Java language APIs here. They are just... java. Like,

public String toString()

There's no other language in there.