From 356491bda24e6c4781c6b650f4efda05a6bc1296 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Mon, 14 Sep 2020 23:07:28 -0700 Subject: [PATCH] JavaNativeFoundation: Re-license under BSD-3 Signed-off-by: Jeremy Huddleston Sequoia --- .../JavaNativeFoundation/JNFAssert.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFAssert.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFAutoreleasePool.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFAutoreleasePool.m | 35 ++++++++++++------- .../JavaNativeFoundation/JNFDate.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFDate.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFException.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFException.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFJNI.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFJNI.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFJObjectWrapper.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFJObjectWrapper.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFNumber.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFNumber.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFObject.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFObject.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFPath.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFPath.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFRunLoop.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFRunLoop.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFRunnable.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFRunnable.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFString.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFString.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFThread.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFThread.m | 33 ++++++++++------- .../JavaNativeFoundation/JNFTypeCoercion.h | 35 ++++++++++++------- .../JavaNativeFoundation/JNFTypeCoercion.m | 33 ++++++++++------- .../JavaNativeFoundation.h | 35 ++++++++++++------- .../JavaNativeFoundation/debug.h | 35 ++++++++++++------- .../JavaNativeFoundation/debug.m | 33 ++++++++++------- 31 files changed, 685 insertions(+), 372 deletions(-) diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.h index c27b3d10fd..9bfbfb27d7 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Assertions used by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() and class * caching macros. When building debug builds, improper use of the caching diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.m index 829d49f249..fceb8f819e 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAssert.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFJNI.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.h index 5a7d1e2a6e..7d3c543f0b 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Utility class used by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() macros * from JNFJNI.h. Do not use this class or releated functions directly. diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.m index 4f6abdbc5e..50d513bab0 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFAutoreleasePool.m @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * The JNFAutoreleasePool manages setting up and tearing down autorelease * pools for Java calls into the Cocoa frameworks. diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.h index b6ed298a84..93f0e6dfac 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions to convert between date container classes. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.m index 679bd7fe3d..f3b4042fb2 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFDate.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFDate.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.h index ff2ddf9762..c93be64045 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * JNFExceptions handle bridging exceptions between Foundation and Java. NSExceptions are * caught by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() macros, and transformed and thrown as diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.m index daa9e88438..28a75dd781 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFException.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFException.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.h index 5c0c096e8e..a5b34fb0bd 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * The basic building blocks of writing Java JNI code that interacts with Objective-C. * diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.m index 16f7674891..1d20327ccf 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJNI.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFJNI.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.h index 2e625c4af3..58f5f0bd5e 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Simple wrapper classes to hold Java Objects in JNI global references. * diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.m index 967200e178..17eac99e24 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFJObjectWrapper.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFJObjectWrapper.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.h index e75ed19911..0a4683bf30 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions that convert between number container classes. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.m index db41ea4974..aa8327625f 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFNumber.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFNumber.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.h index e9b35d388e..24c1134d02 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions that access some of the base functionality of java.lang.Object. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.m index c141b63bfd..510e58e449 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFObject.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFObject.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.h index 0b7587c805..401bd69470 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions that create strings that are in the proper format for holding * paths in Java and native. diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.m index 6766263918..608a9e3b14 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFPath.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFPath.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.h index c2c4ad95c9..e03e2a1863 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2009-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Used to perform selectors and blocks in the Java runloop mode. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.m index 7a26f178ce..c3ece5bfea 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunLoop.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2009-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFRunLoop.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.h index ed033c1b4b..1db4e4e8bc 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2009-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Creates NSInvocations which wrap java.lang.Runnables. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.m index 91e85e01b2..7df6249f8f 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFRunnable.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2009-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFRunnable.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.h index 7ddf455242..6a8ba6d8e3 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions that create NSStrings, UTF16 unichars, or UTF8 chars from java.lang.Strings */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.m index 26ee680d41..db6d465eb5 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFString.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFString.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.h index cda04eb203..f50f8010b2 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Functions to help obtain a JNIEnv pointer in places where one cannot be passed * though (callbacks, catagory functions, etc). Use sparingly. diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.m index 8c13e1bfc8..c5feb2756c 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFThread.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFThread.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.h index 91ae8d7691..4dbaa99caa 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Type Coercion system that translates between Java VM objects and Objective-C Foundation objects. * diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.m b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.m index 170306df27..8eae113aca 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JNFTypeCoercion.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "JNFTypeCoercion.h" diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/JavaNativeFoundation.h b/apple/JavaNativeFoundation/JavaNativeFoundation/JavaNativeFoundation.h index 33579ef863..e7e66d4109 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/JavaNativeFoundation.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/JavaNativeFoundation.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * This umbrella header should be included by all JNI/Cocoa source files * for easy building. Use this file instead of importing individual JNF diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/debug.h b/apple/JavaNativeFoundation/JavaNativeFoundation/debug.h index ce58bc229c..d967795fef 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/debug.h +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/debug.h @@ -1,22 +1,33 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + * -- * * Internal functions to Java Native Foundation. */ diff --git a/apple/JavaNativeFoundation/JavaNativeFoundation/debug.m b/apple/JavaNativeFoundation/JavaNativeFoundation/debug.m index 267d26900f..ab359fd7aa 100644 --- a/apple/JavaNativeFoundation/JavaNativeFoundation/debug.m +++ b/apple/JavaNativeFoundation/JavaNativeFoundation/debug.m @@ -1,22 +1,31 @@ /* * Copyright (c) 2008-2020 Apple Inc. All rights reserved. * - * @GPLv2-CPE_LICENSE_HEADER_START@ + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: * - * The contents of this file are licensed under the terms of the - * GNU Public License (version 2 only) with the "Classpath" exception. + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only with - * classpath exception, as published by the Free Software Foundation. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * - * This code is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). + * 3. Neither the name of the copyright holder nor the names of its + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * - * @GPLv2-CPE_LICENSE_HEADER_END@ + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. */ #import "debug.h"