1 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # 4 # This code is free software; you can redistribute it and/or modify it 5 # under the terms of the GNU General Public License version 2 only, as 6 # published by the Free Software Foundation. 7 # 8 # This code is distributed in the hope that it will be useful, but WITHOUT 9 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11 # version 2 for more details (a copy is included in the LICENSE file that 12 # accompanied this code). 13 # 14 # You should have received a copy of the GNU General Public License version 15 # 2 along with this work; if not, write to the Free Software Foundation, 16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 17 # 18 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 # or visit www.oracle.com if you need additional information or have any 20 # questions. 21 # 22 23 # java.lang package and VM runtime support 24 jdk_lang = \ 25 java/lang \ 26 -java/lang/management \ 27 -java/lang/instrument \ 28 sun/invoke \ 29 sun/misc \ 30 sun/reflect \ 31 jdk/lambda \ 32 vm 33 34 # All of the java.util package 35 jdk_util = \ 36 :jdk_util_other \ 37 :jdk_collections \ 38 :jdk_concurrent \ 39 :jdk_stream 40 41 # All util components not part of some other util category 42 jdk_util_other = \ 43 java/util \ 44 sun/util \ 45 -:jdk_collections \ 46 -:jdk_concurrent \ 47 -:jdk_stream 48 49 # java.util.concurrent (JSR-166) 50 # Maintained by JSR-166 EG (Doug Lea et al) 51 # Deque and PriorityQueue are also generally maintained by JSR-166 52 jdk_concurrent = \ 53 java/util/concurrent \ 54 java/util/Deque \ 55 java/util/PriorityQueue 56 57 # Java Collections Framework 58 jdk_collections = \ 59 java/util/AbstractCollection \ 60 java/util/AbstractList \ 61 java/util/AbstractMap \ 62 java/util/AbstractSequentialList \ 63 java/util/ArrayList \ 64 java/util/Arrays \ 65 java/util/BitSet \ 66 java/util/Collection \ 67 java/util/Collections \ 68 java/util/EnumMap \ 69 java/util/EnumSet \ 70 java/util/Comparator \ 71 java/util/Iterator \ 72 java/util/HashMap \ 73 java/util/Hashtable \ 74 java/util/IdentityHashMap \ 75 java/util/List \ 76 java/util/LinkedHashMap \ 77 java/util/LinkedHashSet \ 78 java/util/LinkedList \ 79 java/util/Map \ 80 java/util/NavigableMap \ 81 java/util/TimSort \ 82 java/util/TreeMap \ 83 java/util/Vector \ 84 java/util/WeakHashMap 85 86 # java.util.stream (JSR-335) 87 jdk_stream = \ 88 java/util/Optional \ 89 java/util/function \ 90 java/util/stream 91 92 jdk_math = \ 93 java/math 94 95 jdk_io = \ 96 java/io 97 98 jdk_nio = \ 99 java/nio \ 100 sun/nio 101 102 jdk_net = \ 103 java/net \ 104 com/sun/net/httpserver \ 105 sun/net \ 106 jdk/net 107 108 jdk_time = \ 109 java/time 110 111 jdk_rmi = \ 112 java/rmi \ 113 javax/rmi/ssl \ 114 sun/rmi 115 116 jdk_security1 = \ 117 java/security 118 119 jdk_security2 = \ 120 javax/crypto \ 121 javax/xml/crypto \ 122 com/sun/crypto 123 124 jdk_security3 = \ 125 javax/security \ 126 com/sun/security \ 127 com/sun/org/apache/xml/internal/security \ 128 sun/security \ 129 javax/net \ 130 sun/net/www/protocol/https \ 131 com/sun/net/ssl \ 132 lib/security 133 134 jdk_security = \ 135 :jdk_security1 \ 136 :jdk_security2 \ 137 :jdk_security3 138 139 jdk_text = \ 140 java/text \ 141 sun/text 142 143 jdk_management = \ 144 java/lang/management \ 145 com/sun/management \ 146 sun/management 147 148 jdk_instrument = \ 149 java/lang/instrument 150 151 jdk_jmx = \ 152 javax/management \ 153 com/sun/jmx 154 155 jdk_jdi = \ 156 com/sun/jdi 157 158 jdk_launcher = \ 159 tools/launcher \ 160 sun/tools 161 162 163 # 164 # Tool (and tool API) tests are split into core and svc groups 165 # 166 core_tools = \ 167 tools \ 168 com/sun/tools/extcheck \ 169 sun/tools/java \ 170 sun/tools/native2ascii \ 171 sun/tools/jrunscript \ 172 :jdk_launcher 173 174 svc_tools = \ 175 com/sun/tools/attach \ 176 com/sun/tracing \ 177 sun/tools \ 178 -sun/tools/java \ 179 -sun/tools/native2ascii \ 180 -sun/tools/jrunscript \ 181 sun/jvmstat \ 182 demo/jvmti 183 184 jdk_tools = \ 185 :core_tools \ 186 :svc_tools \ 187 :jdk_launcher 188 189 # 190 # Catch-all for other areas with a small number of tests 191 # 192 jdk_other = \ 193 java/sql \ 194 javax/sql \ 195 javax/naming \ 196 javax/script \ 197 javax/smartcardio \ 198 javax/xml \ 199 -javax/xml/crypto \ 200 jdk/asm \ 201 com/sun/jndi \ 202 com/sun/corba \ 203 lib/testlibrary \ 204 jdk/nio/zipfs \ 205 sample 206 207 # 208 # SCTP is its own group as it is highly sensitive to kernel/network config 209 # 210 jdk_sctp = \ 211 com/sun/nio/sctp 212 213 214 # 215 # core group to run all core area tests 216 # 217 jdk_core = \ 218 :jdk_lang \ 219 :jdk_util \ 220 :jdk_math \ 221 :jdk_io \ 222 :jdk_nio \ 223 :jdk_net \ 224 :jdk_rmi \ 225 :jdk_time \ 226 :jdk_security \ 227 :jdk_text \ 228 :core_tools \ 229 :jdk_other 230 231 # 232 # svc group to run all serviceability area tests 233 # 234 jdk_svc = \ 235 :jdk_management \ 236 :jdk_instrument \ 237 :jdk_jmx \ 238 :jdk_jdi \ 239 :svc_tools 240 241 ############################# 242 243 # 244 # Client area groups 245 # 246 247 jdk_awt = \ 248 java/awt \ 249 com/sun/awt \ 250 com/apple/eawt \ 251 sun/awt 252 253 jdk_2d = \ 254 javax/print \ 255 sun/pisces \ 256 sun/java2d 257 258 jdk_beans = \ 259 java/beans 260 261 jdk_swing = \ 262 javax/accessibility \ 263 javax/swing \ 264 com/sun/java/swing 265 266 jdk_sound = \ 267 javax/sound 268 269 jdk_imageio = \ 270 javax/imageio 271 272 jdk_desktop = \ 273 :jdk_awt \ 274 :jdk_2d \ 275 :jdk_beans \ 276 :jdk_swing \ 277 :jdk_sound \ 278 :jdk_imageio 279 280 ############################# 281 # 282 # Stable test groups 283 # 284 285 jdk_stable = \ 286 :jdk_core \ 287 :jdk_svc \ 288 :jdk_beans \ 289 :jdk_imageio \ 290 :jdk_sound \ 291 :jdk_sctp \ 292 javax/accessibility \ 293 com/sun/java/swing \ 294 sun/pisces \ 295 com/sun/awt 296 297 298 ############################################################################### 299 # Profile-based Test Group Definitions 300 # 301 # These groups define the tests that cover the different possible runtimes: 302 # - compact1, compact2, compact3, full JRE, JDK 303 # 304 # In addition they support testing of the minimal VM on compact1 and compact2. 305 # Essentially this defines groups based around the specified API's and VM 306 # services available in the runtime. 307 # 308 # The groups are defined hierarchically in two forms: 309 # - The need_xxx groups list all the tests that have a dependency on 310 # a specific profile. This is either because it tests a feature in 311 # that profile, or the test infrastructure uses a feature in that 312 # profile. 313 # - The primary groups are defined in terms of the other primary groups 314 # combined with the needs_xxx groups (including and excluding them as 315 # appropriate). For example the jre can run all tests from compact3, plus 316 # those from needs_jre, but excluding those from need_jdk. 317 # 318 # The bottom group defines all the actual tests to be considered, simply 319 # by listing the top-level test directories. 320 321 # Full JDK can run all tests 322 # 323 jdk = \ 324 :jre \ 325 :needs_jdk 326 327 # Tests that require a full JDK to execute. Either they test a feature 328 # only in the JDK or they use tools that are only in the JDK. The latter 329 # can be resolved in some cases by using tools from the compile-jdk. 330 # 331 needs_jdk = \ 332 :jdk_jdi \ 333 com/sun/tools \ 334 demo \ 335 sun/security/tools/jarsigner \ 336 sun/rmi/rmic \ 337 sun/tools \ 338 sun/jvmstat \ 339 tools \ 340 com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java \ 341 java/io/Serializable/serialver \ 342 java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java \ 343 java/lang/invoke/lambda/LambdaAccessControlTest.java \ 344 java/lang/System/MacEncoding/TestFileEncoding.java \ 345 java/net/URLClassLoader/closetest/GetResourceAsStream.java \ 346 java/util/Collections/EmptyIterator.java \ 347 java/util/concurrent/locks/Lock/TimedAcquireLeak.java \ 348 java/util/jar/JarInputStream/ExtraFileInMetaInf.java \ 349 java/util/logging/AnonLoggerWeakRefLeak.sh \ 350 java/util/logging/LoggerWeakRefLeak.sh \ 351 java/util/zip/3GBZipFiles.sh \ 352 jdk/lambda/FDTest.java \ 353 jdk/lambda/separate/Compiler.java \ 354 sun/management/jdp/JdpTest.sh \ 355 sun/management/jmxremote/bootstrap/JvmstatCountersTest.java \ 356 sun/management/jmxremote/bootstrap/LocalManagementTest.java \ 357 sun/management/jmxremote/bootstrap/CustomLauncherTest.java \ 358 sun/misc/JarIndex/metaInfFilenames/Basic.java \ 359 sun/misc/JarIndex/JarIndexMergeForClassLoaderTest.java \ 360 sun/reflect/CallerSensitive/CallerSensitiveFinder.java \ 361 sun/reflect/CallerSensitive/MissingCallerSensitive.java \ 362 sun/security/util/Resources/NewNamesFormat.java \ 363 vm/verifier/defaultMethods/DefaultMethodRegressionTestsRun.java 364 365 # JRE adds further tests to compact3 366 # 367 jre = \ 368 :compact3 \ 369 :needs_jre \ 370 -:needs_jdk 371 372 # Tests that require the full JRE 373 # 374 needs_jre = \ 375 :needs_charsets \ 376 :jdk_desktop \ 377 com/sun/corba \ 378 com/sun/jndi/cosnaming \ 379 sun/net/ftp \ 380 sun/net/www/protocol/ftp \ 381 sun/security/tools/policytool \ 382 java/net/URI/URItoURLTest.java \ 383 java/net/URL/URIToURLTest.java \ 384 java/net/URLConnection/HandleContentTypeWithAttrs.java \ 385 java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh \ 386 java/security/Security/ClassLoaderDeadlock/Deadlock.sh \ 387 java/util/jar/Manifest/CreateManifest.java \ 388 java/util/logging/TestMainAppContext.java \ 389 java/util/ResourceBundle/Control/Bug6530694.java \ 390 java/text/Bidi/BidiConformance.java \ 391 java/text/Bidi/BidiEmbeddingTest.java \ 392 java/text/Bidi/Bug7042148.java \ 393 java/text/Bidi/Bug7051769.java \ 394 javax/crypto/Cipher/CipherStreamClose.java \ 395 javax/management/monitor/AttributeArbitraryDataTypeTest.java \ 396 jdk/lambda/vm/InterfaceAccessFlagsTest.java \ 397 sun/misc/URLClassPath/ClassnameCharTest.java 398 399 # Tests dependent on the optional charsets.jar 400 # These are isolated for easy exclusions 401 # 402 needs_charsets = \ 403 java/io/OutputStreamWriter/TestWrite.java \ 404 java/nio/charset/RemovingSunIO/SunioAlias.java \ 405 java/nio/charset/coders/Check.java \ 406 java/nio/charset/Charset/CharsetContainmentTest.java \ 407 java/nio/charset/Charset/Contains.java \ 408 java/nio/charset/Charset/NIOCharsetAvailabilityTest.java \ 409 java/nio/charset/Charset/RegisteredCharsets.java \ 410 java/nio/charset/CharsetEncoder/Flush.java \ 411 java/nio/charset/coders/CheckSJISMappingProp.sh \ 412 java/nio/charset/coders/ResetISO2022JP.java \ 413 java/util/Locale/InternationalBAT.java \ 414 java/util/Locale/LocaleProviders.sh \ 415 java/util/Calendar/CldrFormatNamesTest.java \ 416 java/util/TimeZone/CLDRDisplayNamesTest.java \ 417 java/util/zip/ZipCoding.java \ 418 sun/nio/cs/EucJpLinux0212.java \ 419 sun/nio/cs/EUCJPUnderflowDecodeTest.java \ 420 sun/nio/cs/EuroConverter.java \ 421 sun/nio/cs/JISAutoDetectTest.java \ 422 sun/nio/cs/OLD/TestIBMDB.java \ 423 sun/nio/cs/SJISCanEncode.java \ 424 sun/nio/cs/Test6254467.java \ 425 sun/nio/cs/TestCompoundTest.java \ 426 sun/nio/cs/TestCp834_SBCS.java \ 427 sun/nio/cs/TestEUC_TW.java \ 428 sun/nio/cs/TestISO2022CNDecoder.java \ 429 sun/nio/cs/TestISO2022JPEncoder.java \ 430 sun/nio/cs/TestISO2022JPSubBytes.java \ 431 sun/nio/cs/TestIllegalSJIS.java \ 432 sun/nio/cs/TestJIS0208Decoder.java \ 433 sun/nio/cs/TestJIS0212Decoder.java \ 434 sun/nio/cs/TestMiscEUC_JP.java \ 435 sun/nio/cs/TestSJIS0213_SM.java \ 436 sun/nio/cs/BufferUnderflowEUCTWTest.java \ 437 sun/nio/cs/CheckCaseInsensitiveEncAliases.java \ 438 sun/nio/cs/CheckHistoricalNames.java \ 439 sun/nio/cs/EucJpLinuxDecoderRecoveryTest.java \ 440 sun/nio/cs/HWKatakanaMS932EncodeTest.java \ 441 sun/nio/cs/ISCIITest.java \ 442 sun/nio/cs/LatinCharReplacementTWTest.java \ 443 sun/nio/cs/NIOJISAutoDetectTest.java \ 444 sun/nio/cs/StreamEncoderClose.java \ 445 sun/nio/cs/SurrogateGB18030Test.java \ 446 sun/nio/cs/SurrogateTestEUCTW.java \ 447 sun/nio/cs/SurrogateTestHKSCS.java \ 448 sun/nio/cs/TestConverterDroppedCharacters.java \ 449 sun/nio/cs/TestCp93xSISO.java \ 450 sun/nio/cs/TestIBM1364.java \ 451 sun/nio/cs/TestIBMBugs.java \ 452 sun/nio/cs/TestIllegalISO2022Esc.java \ 453 sun/nio/cs/TestISO2022JP.java \ 454 sun/nio/cs/TestMS5022X.java \ 455 sun/nio/cs/TestSJIS0213.java \ 456 sun/nio/cs/TestTrailingEscapesISO2022JP.java \ 457 sun/nio/cs/TestUni2HKSCS.java \ 458 sun/nio/cs/ZeroedByteArrayEUCTWTest.java 459 460 # Compact 3 adds further tests to compact2 461 # 462 compact3 = \ 463 :compact2 \ 464 :needs_compact3 \ 465 -:needs_jre \ 466 -:needs_jdk 467 468 469 # Tests that require compact3 API's 470 # 471 needs_compact3 = \ 472 :jdk_instrument \ 473 :jdk_jmx \ 474 :jdk_management \ 475 :jdk_sctp \ 476 com/sun/jndi \ 477 com/sun/org/apache/xml/internal/security \ 478 com/sun/security/auth \ 479 com/sun/security/sasl \ 480 com/sun/security/jgss \ 481 com/sun/tracing \ 482 java/util/prefs \ 483 javax/naming \ 484 javax/security \ 485 javax/smartcardio \ 486 javax/sql/rowset \ 487 javax/xml/crypto \ 488 sun/security/acl \ 489 sun/security/jgss \ 490 sun/security/krb5 \ 491 java/lang/System/MacEncoding/TestFileEncoding.java \ 492 java/nio/channels/AsynchronousSocketChannel/Leaky.java \ 493 java/security/PermissionCollection/Concurrent.java \ 494 java/security/Principal/Implies.java \ 495 java/security/cert/GetInstance.java \ 496 java/util/logging/DrainFindDeadlockTest.java \ 497 java/util/logging/LoggingMXBeanTest.java \ 498 sun/net/www/http/KeepAliveCache/B5045306.java \ 499 sun/security/provider/PolicyFile/Alias.java \ 500 sun/security/provider/PolicyFile/Comparator.java \ 501 sun/security/provider/PolicyFile/SelfWildcard.java \ 502 sun/security/ssl/SSLEngineImpl/SSLEngineDeadlock.java \ 503 sun/security/util/Oid/OidFormat.java \ 504 sun/security/util/Resources/Format.java \ 505 sun/security/util/Resources/NewNamesFormat.java 506 507 # Compact 2 adds full VM tests 508 compact2 = \ 509 :compact2_minimal \ 510 :compact1 \ 511 :needs_full_vm_compact2 \ 512 -:needs_compact3 \ 513 -:needs_jre \ 514 -:needs_jdk 515 516 # Tests that require compact2 API's and a full VM 517 # 518 needs_full_vm_compact2 = 519 520 # Minimal VM on Compact 2 adds in some compact2 tests 521 # 522 compact2_minimal = \ 523 :compact1_minimal \ 524 :needs_compact2 \ 525 -:needs_compact3 \ 526 -:needs_jre \ 527 -:needs_jdk 528 529 # Tests that require compact2 API's 530 # 531 needs_compact2 = \ 532 :jdk_rmi \ 533 :jdk_time \ 534 com/sun/org/apache \ 535 com/sun/net/httpserver \ 536 java/sql \ 537 javax/sql \ 538 javax/xml \ 539 jdk/lambda \ 540 sun/net/www/http \ 541 sun/net/www/protocol/http \ 542 java/io/BufferedReader/Lines.java \ 543 java/lang/reflect/DefaultStaticTest/DefaultStaticInvokeTest.java \ 544 java/lang/CharSequence/DefaultTest.java \ 545 java/lang/IntegralPrimitiveToString.java \ 546 java/lang/PrimitiveSumMinMaxTest.java \ 547 java/lang/String/StringJoinTest.java \ 548 java/lang/Thread/StopThrowable.java \ 549 java/net/Authenticator/Deadlock.java \ 550 java/net/CookieHandler/LocalHostCookie.java \ 551 java/net/CookieHandler/CookieManagerTest.java \ 552 java/net/CookieHandler/EmptyCookieHeader.java \ 553 java/net/HttpCookie/IllegalCookieNameTest.java \ 554 java/net/HttpURLConnection/UnmodifiableMaps.java \ 555 java/net/ResponseCache/Test.java \ 556 java/net/URLClassLoader/ClassLoad.java \ 557 java/net/URLClassLoader/closetest/CloseTest.java \ 558 java/net/URLPermission/URLTest.java \ 559 java/nio/Buffer/Chars.java \ 560 java/nio/file/Files/StreamTest.java \ 561 java/security/BasicPermission/Wildcard.java \ 562 java/util/Arrays/ParallelPrefix.java \ 563 java/util/Arrays/SetAllTest.java \ 564 java/util/BitSet/BitSetStreamTest.java \ 565 java/util/Collection/CollectionDefaults.java \ 566 java/util/Collections/CheckedIdentityMap.java \ 567 java/util/Collections/CheckedMapBash.java \ 568 java/util/Collections/CheckedSetBash.java \ 569 java/util/Collections/EmptyCollectionSerialization.java \ 570 java/util/Collections/EmptyNavigableMap.java \ 571 java/util/Collections/EmptyNavigableSet.java \ 572 java/util/Collections/UnmodifiableMapEntrySet.java \ 573 java/util/Comparator/BasicTest.java \ 574 java/util/Comparator/TypeTest.java \ 575 java/util/Iterator/IteratorDefaults.java \ 576 java/util/Iterator/PrimitiveIteratorDefaults.java \ 577 java/util/List/ListDefaults.java \ 578 java/util/Map/BasicSerialization.java \ 579 java/util/Map/Defaults.java \ 580 java/util/Map/EntryComparators.java \ 581 java/util/Optional/Basic.java \ 582 java/util/Optional/BasicDouble.java \ 583 java/util/Optional/BasicInt.java \ 584 java/util/Optional/BasicLong.java \ 585 java/util/Random/RandomStreamTest.java \ 586 java/util/ResourceBundle/Bug6359330.java \ 587 java/util/Spliterator/SpliteratorCharacteristics.java \ 588 java/util/Spliterator/SpliteratorCollisions.java \ 589 java/util/Spliterator/SpliteratorLateBindingFailFastTest.java \ 590 java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java \ 591 java/util/StringJoiner/MergeTest.java \ 592 java/util/StringJoiner/StringJoinerTest.java \ 593 java/util/concurrent/atomic/AtomicReferenceTest.java \ 594 java/util/function/BinaryOperator/BasicTest.java \ 595 java/util/logging/LoggerSupplierAPIsTest.java \ 596 java/util/zip/ZipFile/StreamZipEntriesTest.java \ 597 java/util/zip/ZipFile/DeleteTempJar.java \ 598 javax/crypto/Cipher/CipherStreamClose.java \ 599 sun/misc/URLClassPath/ClassnameCharTest.java \ 600 sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java \ 601 sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java 602 603 # Compact 1 adds full VM tests 604 # 605 compact1 = \ 606 :compact1_minimal \ 607 :needs_full_vm_compact1 \ 608 -:needs_compact2 \ 609 -:needs_full_vm_compact2 \ 610 -:needs_compact3 \ 611 -:needs_jre \ 612 -:needs_jdk 613 614 # Tests that require compact1 API's and a full VM 615 # 616 needs_full_vm_compact1 = 617 618 # All tests that run on the most minimal configuration: Minimal VM on Compact 1 619 compact1_minimal = \ 620 com \ 621 java \ 622 javax \ 623 jdk \ 624 lib \ 625 sample \ 626 sun \ 627 vm \ 628 -:needs_full_vm_compact1 \ 629 -:needs_full_vm_compact2 \ 630 -:needs_compact2 \ 631 -:needs_compact3 \ 632 -:needs_jre \ 633 -:needs_jdk