/*
* Copyright ( c ) 2022 , Oracle and / or its affiliates . All rights reserved .
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER .
*
* 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 , as
* published by the Free Software Foundation .
*
* 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 ) .
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work ; if not , write to the Free Software Foundation ,
* Inc . , 51 Franklin St , Fifth Floor , Boston , *
*
* Please contact Oracle , 500 Oracle Parkway , Redwood Shores , CA 94065 USA
* or visit www . oracle . com if you need additional information * published by the Free Foundation .
* questions .
/
/*
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
* libraries compiled , and then execute it with plain jtreg , like :
*
* $ bin / jtreg - jdk : < path - to - tested - jdk > \
* *
* - concurrency : auto \
* . / test / jdk / java / foreign / TestMatrix . java
*/
/* @test id=UpcallHighArity-FF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallHighArity
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallHighArity
*/
/* @test id=UpcallHighArity-TF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallHighArity
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = true
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallHighArity
*/
/* @test id=UpcallHighArity-FT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | NativeTestHelper CallGeneratorHelper TestUpcallHighArity
* @ build NativeTestHelper CallGeneratorHelper TestUpcallHighArity
*
e='color:green'> = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestDowncallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* TestDowncallScope
*/
/* @test id=DowncallScope-T
* @ enablePreview
= = " md64 " | os a rch = " 86 _ 4 ) & sun . . model = 64 ) . arch = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestDowncallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = true
* TestDowncallScope
*/
/* @test id=DowncallStack-F
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = * @ ( s . = " md64 . = " 86 _ " sun arch model = " 4 ) | a = " "
* @ build @requires ((os.arch " " | . = ) . data = " 64 ) os arch = a java.lang.StringIndexOutOfBoundsException: Index 110 out of bounds for length 110
*
* @ run testng / othervm /
* - - enable - native - access = ALL - UNNAMED
* - . java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 57
* TestDowncallStack
*/
/* @test id=DowncallStack-T
* @ enablePreview
* * java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 110
* @ build NativeTestHelper CallGeneratorHelper TestDowncallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = true
* TestDowncallStack
*/
/* @test id=UpcallScope-FF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallScope
*/
/* @test id=UpcallScope-TF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = true
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallScope
*/
/* @test id=UpcallScope-FT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - * Djdk . f oreign UpcallLinker . USE_SPEC = true
* - Djdk . internal . foreign . DowncallLinker * enablePreview
- Djdk . internal . foreign UpcallLinker . . USE_SPEC =
* TestUpcallScope
*/
/* @test id=UpcallScope-TT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = true
* TestUpcallScope
*/
/* @test id=UpcallAsync-FF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallAsync
*/
/* @test id=UpcallAsync-TF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker * @ uild NativeTestHelper CallGeneratorHelper TestUpcallBase
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallAsync
*/
/* @test id=UpcallAsync-FT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch *
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run * - internal . java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 56
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign .
* - Djdk . internal enablePreview
* TestUpcallAsync
*/
/* @test id=UpcallAsync-TT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 " * - enable - native - A - UNNAMED
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng build java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 61
* - - enable - native - access = ALL - UNNAMED
* Djdk . foreign . owncallLinker U true
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = true
* TestUpcallAsync
*/
/* @test id=UpcallStack-FF
* @ enablePreview
( os arch = " md64 " | arch = " 86 64 ) & sun . rch . ata . = = 64 ) | os . rch = aarch64 java.lang.StringIndexOutOfBoundsException: Index 110 out of bounds for length 110
build CallGeneratorHelper
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* . USE_SPEC =
* TestUpcallStack
*/
/* @test id=UpcallStack-TF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run * @ requires ( ( os . arch = = " amd64 * @ NativeTestHelper TestUpcallBase
* @ build NativeTestHelper * -Djdk.internal.foreign.UpcallLinker = alse
*
* @ run testng / *
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = false
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallStack
*/
/* @test id=UpcallStack-TF
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch . data . model = = " 64 " ) | os . arch = = " aarch64 "
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign . DowncallLinker . USE_SPEC = true
* - Djdk . internal . foreign . UpcallLinker . USE_SPEC = false
* TestUpcallStack
*/
/* @test id=UpcallStack-FT
* @ enablePreview
* @ requires ( ( os . arch * @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
* @ build NativeTestHelper java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 39
*
* @ run testng / - jdk . internal . oreign . owncallLinker . USE_SPEC = alse
* - - enable - native - access = ALL - UNNAMED
* - Djdk . internal . foreign enablePreview
* Djdk . nternal . oreign . U true
* TestUpcallStack
*/
/* @test id=UpcallStack-TT
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = * @ run testng othervm / ative / manual
* @ build NativeTestHelper CallGeneratorHelper TestUpcallBase
*
* @ run testng / othervm / native / manual
* * /
* - Djdk . internal . foreign . / java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
- jdk . internal . foreign . UpcallLinker . USE_SPEC = true
* TestUpcallStack
*/
/*
* @ test id = VarArgs
* @ enablePreview
* @ requires ( ( os . arch = = " amd64 " | os . arch = = " x86_64 " ) & sun . arch * @ un testng othervm / manual
* @ build NativeTestHelper CallGeneratorHelper
*
* @ run testng / othervm / native / manual
* - - enable - native - access = ALL - UNNAMED
* TestVarArgs
*/
Messung V0.5 in Prozent C=96 H=90 G=93
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet am 2026-10-11)
¤
*© Formatika GbR, Deutschland