Merge GNU Classpath 0.99 into libjava.
[gcc.git] / libjava / classpath / LICENSE
1 The software in this package is distributed under the GNU General Public
2 License (with a special exception described below).
3
4 A copy of GNU General Public License (GPL) is included in this distribution,
5 in the file COPYING. If you do not have the source code, it is available at:
6
7 http://www.gnu.org/software/classpath/
8
9 Linking this library statically or dynamically with other modules is
10 making a combined work based on this library. Thus, the terms and
11 conditions of the GNU General Public License cover the whole
12 combination.
13
14 As a special exception, the copyright holders of this library give you
15 permission to link this library with independent modules to produce an
16 executable, regardless of the license terms of these independent
17 modules, and to copy and distribute the resulting executable under
18 terms of your choice, provided that you also meet, for each linked
19 independent module, the terms and conditions of the license of that
20 module. An independent module is a module which is not derived from
21 or based on this library. If you modify this library, you may extend
22 this exception to your version of the library, but you are not
23 obligated to do so. If you do not wish to do so, delete this
24 exception statement from your version.
25
26
27 GNU Classpath also contains other (example) code distributed under other
28 terms. External libraries included with GNU Classpath may also be
29 distributed under different licensing terms.
30 The location and the exact terms of this other code is mentioned below.
31
32
33 Directory examples.
34 All example code is distributed under the GNU General Public License (GPL).
35 Each example source code files carries the following notice:
36
37 GNU Classpath examples are free software; you can redistribute it
38 and/or modify it under the terms of the GNU General Public License as
39 published by the Free Software Foundation; either version 2, or (at
40 your option) any later version.
41
42 GNU Classpath examples are distributed in the hope that they will be
43 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
44 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
45 General Public License for more details.
46
47 You should have received a copy of the GNU General Public License
48 along with GNU Classpath examples; see the file COPYING. If not,
49 write to the Free Software Foundation, 51 Franklin Street, Fifth Floor,
50 Boston, MA 02110-1301, USA.
51
52 For more information see the README file in the examples directory.
53
54
55 Directory native/fdlibm
56 fdlimb contains general algorithms useful for runtimes and compilers to
57 support strict double and float mathematical operations.
58
59 fdlibm files carry the following notices:
60
61 Copyright (c) 1991 by AT&T.
62
63 Permission to use, copy, modify, and distribute this software for any
64 purpose without fee is hereby granted, provided that this entire notice
65 is included in all copies of any software which is or includes a copy
66 or modification of this software and in all copies of the supporting
67 documentation for such software.
68
69 THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
70 WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
71 REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
72 OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
73
74 Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
75
76 Developed at SunPro, a Sun Microsystems, Inc. business.
77 Permission to use, copy, modify, and distribute this
78 software is freely granted, provided that this notice
79 is preserved.
80
81 The upstream for fdlibm is libgcj (http://gcc.gnu.org/java/), they sync
82 again with the 'real' upstream (http://www.netlib.org/fdlibm/readme).
83
84
85 The documentation of some of the files in org/ietf/jgss/ is derived from
86 the text of RFC 2853: Generic Security Service API Version 2: Java Bindings.
87 That document is covered under the following license notice:
88
89 Copyright (C) The Internet Society (2000). All Rights Reserved.
90
91 This document and translations of it may be copied and furnished to
92 others, and derivative works that comment on or otherwise explain it
93 or assist in its implementation may be prepared, copied, published and
94 distributed, in whole or in part, without restriction of any kind,
95 provided that the above copyright notice and this paragraph are
96 included on all such copies and derivative works. However, this
97 document itself may not be modified in any way, such as by removing
98 the copyright notice or references to the Internet Society or other
99 Internet organizations, except as needed for the purpose of developing
100 Internet standards in which case the procedures for copyrights defined
101 in the Internet Standards process must be followed, or as required to
102 translate it into languages other than English.
103
104 The limited permissions granted above are perpetual and will not be
105 revoked by the Internet Society or its successors or assigns.
106
107 This document and the information contained herein is provided on an
108 "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
109 TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
110 NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN
111 WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
112 MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
113
114
115 Directory external/w3c_dom
116 Bindings for the Document Object Model (DOM) as published by the
117 World Wide Web Consortium. All files are distributed under the following
118 W3C Software Short Notice:
119
120 Copyright (c) 2004 World Wide Web Consortium,
121
122 (Massachusetts Institute of Technology, European Research Consortium for
123 Informatics and Mathematics, Keio University). All Rights Reserved. This
124 work is distributed under the W3C(r) Software License [1] in the hope that
125 it will be useful, but WITHOUT ANY WARRANTY; without even the implied
126 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
127
128 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
129
130 Permission to copy, modify, and distribute this software and its
131 documentation, with or without modification, for any purpose and
132 without fee or royalty is hereby granted, provided that you include
133 the following on ALL copies of the software and documentation or
134 portions thereof, including modifications:
135
136 1. The full text of this NOTICE in a location viewable to users of
137 the redistributed or derivative work.
138 2. Any pre-existing intellectual property disclaimers, notices, or
139 terms and conditions. If none exist, the W3C Software Short Notice
140 should be included (hypertext is preferred, text is permitted) within
141 the body of any redistributed or derivative code.
142 3. Notice of any changes or modifications to the files, including
143 the date changes were made. (We recommend you provide URIs to the
144 location from which the code is derived.)
145
146 THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT
147 HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
148 INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
149 FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR
150 DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
151 TRADEMARKS OR OTHER RIGHTS.
152
153 COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
154 OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR
155 DOCUMENTATION.
156
157 The name and trademarks of copyright holders may NOT be used in
158 advertising or publicity pertaining to the software without specific,
159 written prior permission. Title to copyright in this software and any
160 associated documentation will at all times remain with copyright
161 holders.
162
163
164 Directory external/sax
165 Simple API for XML, a standard application interface for processing XML.
166 All files are distributed with the following short notice:
167
168 NO WARRANTY! This class is in the Public Domain.
169
170 The www.saxproject.org explains:
171
172 Copyright Status
173
174 SAX is free!
175
176 In fact, it's not possible to own a license to SAX, since it's been
177 placed in the public domain.
178
179 No Warranty
180
181 Because SAX is released to the public domain, there is no warranty
182 for the design or for the software implementation, to the extent
183 permitted by applicable law. Except when otherwise stated in writing
184 the copyright holders and/or other parties provide SAX "as is" without
185 warranty of any kind, either expressed or implied, including, but not
186 limited to, the implied warranties of merchantability and fitness for
187 a particular purpose. The entire risk as to the quality and
188 performance of SAX is with you. Should SAX prove defective, you assume
189 the cost of all necessary servicing, repair or correction.
190
191 In no event unless required by applicable law or agreed to in
192 writing will any copyright holder, or any other party who may modify
193 and/or redistribute SAX, be liable to you for damages, including any
194 general, special, incidental or consequential damages arising out of
195 the use or inability to use SAX (including but not limited to loss of
196 data or data being rendered inaccurate or losses sustained by you or
197 third parties or a failure of the SAX to operate with any other
198 programs), even if such holder or other party has been advised of the
199 possibility of such damages.
200
201 Copyright Disclaimers
202
203 This page includes statements to that effect by David Megginson, who
204 would have been able to claim copyright for the original work.
205
206 SAX 1.0
207
208 Version 1.0 of the Simple API for XML (SAX), created collectively by
209 the membership of the XML-DEV mailing list, is hereby released into
210 the public domain.
211
212 No one owns SAX: you may use it freely in both commercial and
213 non-commercial applications, bundle it with your software
214 distribution, include it on a CD-ROM, list the source code in a book,
215 mirror the documentation at your own web site, or use it in any other
216 way you see fit.
217
218 David Megginson, sax@megginson.com
219 1998-05-11
220
221 SAX 2.0
222
223 I hereby abandon any property rights to SAX 2.0 (the Simple API for
224 XML), and release all of the SAX 2.0 source code, compiled code, and
225 documentation contained in this distribution into the Public
226 Domain. SAX comes with NO WARRANTY or guarantee of fitness for any
227 purpose.
228
229 David Megginson, david@megginson.com
230 2000-05-05
231
232
233 Two files in gnu/xml/aelfred2 (SAXDriver.java and XmlParser.java) were
234 originally derived from code which carried the following notice:
235
236 Copyright (c) 1997, 1998 by Microstar Software Ltd.
237
238 AElfred is free for both commercial and non-commercial use and
239 redistribution, provided that Microstar's copyright and disclaimer are
240 retained intact. You are free to modify AElfred for your own use and
241 to redistribute AElfred with your modifications, provided that the
242 modifications are clearly documented.
243
244 This program is distributed in the hope that it will be useful, but
245 WITHOUT ANY WARRANTY; without even the implied warranty of
246 merchantability or fitness for a particular purpose. Please use it AT
247 YOUR OWN RISK.
248
249
250 The files in resource/gnu/java/locale were generated by gnu.localegen
251 from the files distributed from date provided by CLDR.
252 All these files are distributed under the following terms:
253
254 Copyright (C) 1991-2005 Unicode, Inc. All rights reserved. Distributed
255 under the Terms of Use in http://www.unicode.org/copyright.html.
256
257 Permission is hereby granted, free of charge, to any person obtaining
258 a copy of the Unicode data files and any associated documentation (the
259 "Data Files") or Unicode software and any associated documentation
260 (the "Software") to deal in the Data Files or Software without
261 restriction, including without limitation the rights to use, copy,
262 modify, merge, publish, distribute, and/or sell copies of the Data
263 Files or Software, and to permit persons to whom the Data Files or
264 Software are furnished to do so, provided that (a) the above copyright
265 notice(s) and this permission notice appear with all copies of the
266 Data Files or Software, (b) both the above copyright notice(s) and
267 this permission notice appear in associated documentation, and (c)
268 there is clear notice in each modified Data File or in the Software as
269 well as in the documentation associated with the Data File(s) or
270 Software that the data or software has been modified.
271
272 THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
273 ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
274 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
275 NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT
276 HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR
277 ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
278 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
279 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
280 OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
281 SOFTWARE.
282
283 Except as contained in this notice, the name of a copyright holder
284 shall not be used in advertising or otherwise to promote the sale, use
285 or other dealings in these Data Files or Software without prior
286 written authorization of the copyright holder.
287
288
289 The file native/jni/midi-dssi/gnu_javax_sound_midi_dssi_DSSISynthesizer.c
290 contains two functions (get_port_default and set_control) derived from
291 example code in the DSSI distribution (http://dssi.sourceforge.net).
292 The original DSSI example code is distributed under the following
293 terms:
294
295 Copyright 2004 Chris Cannam, Steve Harris and Sean Bolton.
296
297 Permission to use, copy, modify, distribute, and sell this software
298 for any purpose is hereby granted without fee, provided that the
299 above copyright notice and this permission notice are included in
300 all copies or substantial portions of the software.
301
302 The files in java/util/concurrent and subdirectories (with the
303 exception of CopyOnWriteArrayList.java), along with
304 java.util.NavigableMap, java.util.NavigableSet, java.util.Deque and
305 java.util.ArrayDeque, are taken from JSR166 concurrency materials
306 maintained by Doug Lea and distributed under the following terms:
307
308 Written by Doug Lea with assistance from members of JCP JSR-166
309 Expert Group and released to the public domain, as explained at
310 http://creativecommons.org/licenses/publicdomain
311
312 CopyOnWriteArrayList.java has been reimplemented for GNU Classpath,
313 and is distributed under the same terms as other GNU Classpath files,
314 as specified at the top of this file.
315
316 Directory external/relaxngDatatype
317 RELAX NG Pluggable Datatype Libraries. All files are distributed under
318 the following notice:
319
320 Copyright (c) 2001, Thai Open Source Software Center Ltd, Sun
321 Microsystems. All rights reserved.
322
323 Redistribution and use in source and binary forms, with or
324 without
325 modification, are permitted provided that the following
326 conditions are met:
327
328 Redistributions of source code must retain the above
329 copyright
330 notice, this list of conditions and the following
331 disclaimer.
332
333 Redistributions in binary form must reproduce the above
334 copyright notice, this list of conditions and the following
335 disclaimer in the documentation and/or other materials
336 provided
337 with the distribution.
338
339 Neither the names of the copyright holders nor the names of
340 its
341 contributors may be used to endorse or promote products
342 derived
343 from this software without specific prior written
344 permission.
345
346 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
347 CONTRIBUTORS
348 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
349 NOT
350 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
351 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
352 SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
353 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
354 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
355 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
356 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
357 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
358 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
359 THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
360 SUCH DAMAGE.
361
362
363 * m4/ax_func_which_gethostbyname_r.m4
364
365 Copyright © 2005 Caolan McNamara <caolan@skynet.ie>
366 Copyright © 2005 Daniel Richard G. <skunk@iskunk.org>
367
368 This program is free software; you can redistribute it and/or modify
369 it under the terms of the GNU General Public License as published by
370 the Free Software Foundation; either version 2 of the License, or
371 (at your option) any later version.
372
373 This program is distributed in the hope that it will be useful, but
374 WITHOUT ANY WARRANTY; without even the implied warranty of
375 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
376 General Public License for more details.
377
378 You should have received a copy of the GNU General Public License
379 along with this program; if not, write to the Free Software
380 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
381 USA.
382
383 As a special exception, the respective Autoconf Macro's copyright
384 owner gives unlimited permission to copy, distribute and modify the
385 configure scripts that are the output of Autoconf when processing the
386 Macro. You need not follow the terms of the GNU General Public License
387 when using or distributing such scripts, even though portions of the
388 text of the Macro appear in them. The GNU General Public License
389 (GPL) does govern all other use of the material that constitutes the
390 Autoconf Macro.
391
392 This special exception to the GPL applies to versions of the
393 Autoconf Macro released by the Autoconf Macro Archive. When you make
394 and distribute a modified version of the Autoconf Macro, you may
395 extend this special exception to the GPL to apply to your modified
396 version as well.