Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #30939
| From | Sebastian <news@seyweiler.dyndns.org> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Oracle Java license question |
| Date | 2015-01-27 18:15 +0100 |
| Organization | albasani.net |
| Message-ID | <ma8h2r$uid$1@news.albasani.net> (permalink) |
| References | <ma5k47$aq0$1@news.albasani.net> <ma5ngj$q41$1@dont-email.me> |
Am 26.01.2015 16:46, schrieb Eric Sosman: > On 1/26/2015 9:48 AM, Sebastian wrote: >> I find license agrrements in English legal terms hard to understand. >> Does anyone know: Am I allowed to take the source code of a Java class >> included in Oracle JDK 8 SE, copy it to a new class, modify that new >> class, and distribute the .class-file with a closed-source commercial >> product? If so, under what conditions? > > "I. SOURCE CODE. Software may contain source code that, unless > expressly licensed for other purposes, is provided solely for > reference purposes pursuant to the terms of this Agreement. > Source code may not be redistributed unless expressly provided > for in this Agreement." > > ... so I think the question would hinge on the extent and nature of your > modifications. If you start with a thousand-line .java file, keep five > lines and replace the rest with your own work, you're probably fine. > But if the modifications are small and/or trivial, you're very likely > in trouble. See Jerry Stuckle's response. > > However, I'd suggest taking a step back: *Why* do you think this > would be a desirable thing to do, if allowed? Can you explain why the > usual O-O ways of doing things (extension, composition) do not suffice > in your case? Why is the inherently risky "re-use by copy'n'paste" an > attractive proposition? What problem are you trying to solve? > I would like to replace (not overload) all methods in a certain class that have an int in their signature with analogous methods that have a long, where some of those methods delegate to a private instance of a nested class. No chance with O-O ways, I guess. I'll take it to a lawyer. Perhaps this is a legitimate example of using source code for reference purposes. -- Sebastian
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Oracle Java license question Sebastian <news@seyweiler.dyndns.org> - 2015-01-26 15:48 +0100
Re: Oracle Java license question Jerry Stuckle <jstucklex@attglobal.net> - 2015-01-26 10:11 -0500
Re: Oracle Java license question Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-01-26 10:46 -0500
Re: Oracle Java license question Sebastian <news@seyweiler.dyndns.org> - 2015-01-27 18:15 +0100
Re: Oracle Java license question Martin Gregorie <martin@address-in-sig.invalid> - 2015-01-27 23:19 +0000
Re: Oracle Java license question Nigel Wade <nmw@ion.le.ac.uk> - 2015-01-28 14:51 +0000
Re: Oracle Java license question Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> - 2015-01-28 11:28 -0600
Re: Oracle Java license question Sebastian <news@seyweiler.dyndns.org> - 2015-01-28 18:46 +0100
csiph-web