108 points · by party__ · 16y ago · 39 comments
And apparently Oracle slaps "ORACLE PROPRIETARY/CONFIDENTIAL" on everything.
That is probably the only interesting part of this story.
It's as if just because it's BSD we are talking about, you can break those 3 conditions at will. Not surprising actually, since some Linux kernel devs have also been doing it.
Oracle are not very nice when it comes to Java licensing. Just ask Apache.
From the comments in the reference:
* deployJava.js
*
* This file is part of the Deployment Toolkit. It provides functions for web
* pages to detect the presence of a JRE, install the latest JRE, and easily run
* applets or Web Start programs.
i e Sun/Oracle own the code Facebook is using.
This file is part of the Deployment Toolkit. It provides functions for web
pages to detect the presence of a JRE, install the latest JRE, and easily run
applets or Web Start programs.It is also clearly a file that is supposed to be used outside of Oracle, the following comment states (at http://www.java.com/js/deployJava.txt): "You are encouraged to link directly to the live copies."
The real question is why it appears twice after being packaged.
"This file is part of the Deployment Toolkit. It provides functions for web pages to detect the presence of a JRE, install the latest JRE, and easily run applets or Web Start programs."
/**
* Adding a single line to this file requires great internal reflection
* and thought. You must ask yourself if your one line addition is so
* important, so critical to the success of the company, that it warrants
* a slowdown for every user on every page load. Adding a single letter
* here could cost thousands of man hours around the world.
*
* That is all.
*/
http://www.slideshare.net/makinde/javascript-primer
Slide #47Or is this it? I didn't see the comment.
(edit) Looks like Facebook is using the Java RIA framework, http://download.oracle.com/javase/6/docs/technotes/guides/jw...
If on Chrome, check out the prettyprint extension, which uses the same jsbeautifier code to do it auto for ya. https://chrome.google.com/extensions/detail/nipdlgebaanapcph...
It lets you pick multiple pictures from a directory on your hard drive, rotate them if you need to, and then I believe it does some compression before finally loading them up
I hope we see some more karmic justice and Google rips Oracle a new one.
And btw the Oracle snippet is there referencing Java, not javascript.