4 ms·
>Currently Android Java is a mixture of Java 6, 7 and 8, doesn't implement 100% of any of those versions, which fails the Java TCK with a glorious score. Does
by bitmapbrother 10y ago
>Currently Android Java is a mixture of Java 6, 7 and 8, doesn't implement 100% of any of those versions, which fails the Java TCK with a glorious score.
Does Google call it Java? No, and you clearly know this. So why is there a need to pass the TCK? As for the TCK itself, you need look no further than Apache to see what a farce it is.
>Both runtimes (Dalvik/ART) are still slower than industrial Java Embedded JDKs like J9 or PTC.
I'd love to see the performance and resource usage of the JVM on a mobile device. You see, there's a reason Oracle failed miserably trying to build their Java phone.
- pjmlp 10y ago> Does Google call it Java? No, and you clearly know this. Surely it does https://developer.android.com/index.html#q=Java https://developer.android.com/index.html#q=Java I see tons of references to it. > I'd love to see the performance and resource usage of the JVM on a mobile device. You see, there's a reason Oracle failed miserably trying to build their Java phone. I'd love to see Google fanboys accept the fact that Google has ripped off Sun of their work and brought fragmentation to the Java world with libraries that don't work on Android. Of course Oracle and Sun failed, Google gave their work for free to OEMs.
- Oletros 10y ago> I see tons of references to it. Reference to Java libraries doesn't mean that Google calls it Java, and you know it. > I'd love to see Google fanboys accept the fact that Google has ripped off Sun of their work and brought fragmentation to the Java world with libraries that don't work on Android. I suppose that Java SE, Java ME and Java EE are compatible and they are not fragmented. Calling others fanboys? The argument you have is insulting? Are you saying that Apache ripped off Sun?
- pjmlp 10y ago> Reference to Java libraries doesn't mean that Google calls it Java, and you know it. Microsoft doesn't implement C99, C devs bash Microsoft because they don't update the language. Google doesn't provide a proper Java implementation, it is ok they are on their right to fork the language. Java is the whole package, virtual machine, language and libraries. Anything else is a plain fork and word games to workaround licensing issues. "For more information about general practices to clean up your resources when programming in Java, refer to other books or online documentation about managing resource references." https://developer.android.com/training/articles/memory.html https://developer.android.com/training/articles/memory.html > I suppose that Java SE, Java ME and Java EE are compatible and they are not fragmented. Yes, since Java 8 there is a notion of profiles, valid across all certified implementations. Android is not even compatible with Java compact profile 1, the smallest of them. > Calling others fanboys? The argument you have is insulting? Yeah apparently we are not allowed to side with Oracle. > Are you saying that Apache ripped off Sun? They also did not have a license to use Java on embedded devices did they? The LGPL with classpath exception license was only valid for desktop and server deployments of Java.
- bitmapbrother 10y ago>Google doesn't provide a proper Java implementation, it is ok they are on their right to fork the language. Again, they don't call it Java so they can do whatever they want with it. >Android is not even compatible with Java compact profile 1, the smallest of them. Good thing they didn't call their implementation Java. >Yeah apparently we are not allowed to side with Oracle. It's kind of hard to side with a company with a reputation like Oracle and even harder for one that thinks it can sue for 9 Billion dollars for the partial use of a API's SSO. >They also did not have a license to use Java on embedded devices did they? They didn't call it Java so they didn't need one.
- pjmlp 10y agoIt is so funny how people side up with Google for doing the same thing as Microsoft. But hey lets just shout to the wind the "do no evil" crap. I use Android Studio with Gradle and Java to write Android applications, how come it isn't Java!?! Every other company in this planet is fine to play by the rules of the Java world, just Google not. Instead they fill the Android documentation with the Java word everywhere, rely on Java compilers and libraries, but just because they don't put a coffee cup it isn't Java. On top of that they cherry pick features from Java, slowly making it impossible to write portable libraries without having multiple code paths. Which is going to become increasingly harder with Java 9 and 10 features. Just because they play word games by putting Android on the box, it doesn't make it less Java.
- Oletros 10y ago> It is so funny how people side up with Google for doing the same thing as Microsoft. Really? Now it is clear that you're just not being serious
- pjmlp 10y agoI am fully serious and look forward Oracle winning the next round. Android is a fork of the Java eco-system that prevent 100% of Java 8, 9 and upcoming 10 features to be used on the platform. Anything else that Google states is a plain game of words to avoid paying Oracle for what they did to Sun.
- bitmapbrother 10y ago>Surely it does >https://developer.android.com/index.html#q=Java https://developer.android.com/index.html#q=Java Again, please point to me a proper link where Google calls their implementation Java. For obvious trademark violation reasons they don't. >I'd love to see Google fanboys accept the fact that Google has ripped off Sun of their work and brought fragmentation to the Java world with libraries that don't work on Android. And I'd love to see Oracle supporters gracefully accept defeat. Google didn't rip off anything and the SSO of the API's they used were ruled fair use. Why is this so difficult for you to accept?