JavaNativeFoundation: Re-license under BSD-3

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
This commit is contained in:
Jeremy Huddleston Sequoia 2020-09-14 23:07:28 -07:00
parent da09ed7a30
commit 356491bda2
31 changed files with 685 additions and 372 deletions

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * Assertions used by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() and class
* caching macros. When building debug builds, improper use of the caching * caching macros. When building debug builds, improper use of the caching

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFJNI.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * Utility class used by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() macros
* from JNFJNI.h. Do not use this class or releated functions directly. * from JNFJNI.h. Do not use this class or releated functions directly.

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * The JNFAutoreleasePool manages setting up and tearing down autorelease
* pools for Java calls into the Cocoa frameworks. * pools for Java calls into the Cocoa frameworks.

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Functions to convert between date container classes.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFDate.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * 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 * caught by the JNF_COCOA_ENTER()/JNF_COCOA_EXIT() macros, and transformed and thrown as

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFException.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * The basic building blocks of writing Java JNI code that interacts with Objective-C.
* *

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFJNI.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Simple wrapper classes to hold Java Objects in JNI global references.
* *

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFJObjectWrapper.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Functions that convert between number container classes.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFNumber.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Functions that access some of the base functionality of java.lang.Object.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFObject.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * Functions that create strings that are in the proper format for holding
* paths in Java and native. * paths in Java and native.

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFPath.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2009-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Used to perform selectors and blocks in the Java runloop mode.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2009-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFRunLoop.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2009-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Creates NSInvocations which wrap java.lang.Runnables.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2009-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFRunnable.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * Functions that create NSStrings, UTF16 unichars, or UTF8 chars from java.lang.Strings
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFString.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * Functions to help obtain a JNIEnv pointer in places where one cannot be passed
* though (callbacks, catagory functions, etc). Use sparingly. * though (callbacks, catagory functions, etc). Use sparingly.

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFThread.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Type Coercion system that translates between Java VM objects and Objective-C Foundation objects.
* *

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "JNFTypeCoercion.h"

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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 * This umbrella header should be included by all JNI/Cocoa source files
* for easy building. Use this file instead of importing individual JNF * for easy building. Use this file instead of importing individual JNF

View File

@ -1,22 +1,33 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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. * Internal functions to Java Native Foundation.
*/ */

View File

@ -1,22 +1,31 @@
/* /*
* Copyright (c) 2008-2020 Apple Inc. All rights reserved. * 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 * 1. Redistributions of source code must retain the above copyright notice,
* GNU Public License (version 2 only) with the "Classpath" exception. * this list of conditions and the following disclaimer.
* *
* This code is free software; you can redistribute it and/or modify it * 2. Redistributions in binary form must reproduce the above copyright
* under the terms of the GNU General Public License version 2 only with * notice, this list of conditions and the following disclaimer in the
* classpath exception, as published by the Free Software Foundation. * documentation and/or other materials provided with the distribution.
* *
* This code is distributed in the hope that it will be useful, but WITHOUT * 3. Neither the name of the copyright holder nor the names of its
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * contributors may be used to endorse or promote products derived from
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * this software without specific prior written permission.
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
* *
* @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" #import "debug.h"