Live data from Hacker News

Why is there an Oracle copyright in the middle of a Facebook javascript?

static.ak.fbcdn.net

1–10 of 43 posts

Re: Why is there an Oracle copyright in the middle of a Facebook javascript?

#3
According to the link in the copyright header (http://www.java.com/js/deployJava.txt)

"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."

Re: Why is there an Oracle copyright in the middle of a Facebook javascript?

#6
It looks like Facebook didn't strip out the copyright since it says "Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer."

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.

Re: Why is there an Oracle copyright in the middle of a Facebook javascript?

#7

According to the link in the copyright header ( http://www.java.com/js/deployJava.txt ) "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."

And is probably used for their Java-based image uploader.

Re: Why is there an Oracle copyright in the middle of a Facebook javascript?

#9
post #8

Skimmed through the js code after loading it into http://jsbeautifier.org . Looks like it may be used to load java applets. (edit) Looks like Facebook is using the Java RIA framework, http://download.oracle.com/javase/6/docs/technotes/guides/jw...

> Skimmed through the js code after loading it into http://jsbeautifier.org ...

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...

Re: Why is there an Oracle copyright in the middle of a Facebook javascript?

#10
Most likely the same reason why they are going after Google as the new owner of java, because up until they owned sun microsystems, it was in their best interest to support open source. In the aftermath of purchasing Sun, they think its best to become a patent troll.

I hope we see some more karmic justice and Google rips Oracle a new one.

Post reply on HN