1 #  Copyright (c) 2013, 2015, 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 ###############################################################################
  24 #
  25 # Tiered testing definitions
  26 #
  27 
  28 tier1 = \
  29     :jdk_lang \
  30     :jdk_util \
  31     sun/nio/cs/ISO8859x.java \
  32     java/nio/Buffer \
  33     com/sun/crypto/provider/Cipher \
  34     :jdk_math
  35 
  36 tier2 = \
  37     :jdk_io \
  38     :jdk_nio \
  39     -sun/nio/cs/ISO8859x.java \
  40     -java/nio/Buffer \
  41     :jdk_net \
  42     :jdk_time \
  43     :jdk_security \
  44     -com/sun/crypto/provider/Cipher \
  45     :jdk_text \
  46     :core_tools \
  47     :jdk_other \
  48     :jdk_svc
  49 
  50 tier3 = \
  51     :jdk_rmi \
  52     :jdk_beans \
  53     :jdk_imageio
  54 
  55 ###############################################################################
  56 #
  57 # Other test definitions; generally smaller granularity than tiers
  58 #
  59 
  60 # java.lang package and VM runtime support
  61 jdk_lang = \
  62     java/lang \
  63     -java/lang/management \
  64     -java/lang/instrument \
  65     sun/invoke \
  66     sun/misc \
  67     sun/reflect \
  68     jdk/lambda \
  69     vm
  70 
  71 # All of the java.util package
  72 jdk_util = \
  73     :jdk_util_other \
  74     :jdk_collections \
  75     :jdk_concurrent \
  76     :jdk_stream
  77 
  78 # All util components not part of some other util category
  79 jdk_util_other = \
  80     java/util \
  81     sun/util \
  82     -:jdk_collections \
  83     -:jdk_concurrent \
  84     -:jdk_stream
  85 
  86 # java.util.concurrent (JSR-166)
  87 # Maintained by JSR-166 EG (Doug Lea et al)
  88 # Deque and PriorityQueue are also generally maintained by JSR-166
  89 jdk_concurrent = \
  90     java/util/concurrent \
  91     java/util/Deque \
  92     java/util/PriorityQueue
  93 
  94 # Java Collections Framework
  95 jdk_collections = \
  96     java/util/AbstractCollection \
  97     java/util/AbstractList \
  98     java/util/AbstractMap \
  99     java/util/AbstractSequentialList \
 100     java/util/ArrayList \
 101     java/util/Arrays \
 102     java/util/BitSet \
 103     java/util/Collection \
 104     java/util/Collections \
 105     java/util/EnumMap \
 106     java/util/EnumSet \
 107     java/util/Comparator \
 108     java/util/Iterator \
 109     java/util/HashMap \
 110     java/util/Hashtable \
 111     java/util/IdentityHashMap \
 112     java/util/List \
 113     java/util/LinkedHashMap \
 114     java/util/LinkedHashSet \
 115     java/util/LinkedList \
 116     java/util/Map \
 117     java/util/NavigableMap \
 118     java/util/TimSort \
 119     java/util/TreeMap \
 120     java/util/Vector \
 121     java/util/WeakHashMap
 122 
 123 # java.util.stream (JSR-335)
 124 jdk_stream = \
 125     java/util/Optional \
 126     java/util/function \
 127     java/util/stream
 128 
 129 jdk_math = \
 130     java/math
 131 
 132 jdk_io = \
 133     java/io
 134 
 135 jdk_nio = \
 136     java/nio \
 137     sun/nio \
 138     jdk/nio
 139 
 140 jdk_net = \
 141     java/net \
 142     com/sun/net/httpserver \
 143     sun/net \
 144     jdk/net
 145 
 146 jdk_time = \
 147     java/time
 148 
 149 jdk_rmi = \
 150     java/rmi \
 151     sun/rmi
 152 
 153 jdk_security1 = \
 154     java/security
 155 
 156 jdk_security2 = \
 157     javax/crypto \
 158     javax/xml/crypto \
 159     com/oracle/security/ucrypto \
 160     com/sun/crypto
 161 
 162 jdk_security3 = \
 163     javax/security  \
 164     -javax/security/auth/kerberos \
 165     com/sun/security \
 166     -com/sun/security/jgss \
 167     com/sun/org/apache/xml/internal/security \
 168     sun/security \
 169     -sun/security/krb5 \
 170     -sun/security/jgss \
 171     javax/net \
 172     sun/net/www/protocol/https \
 173     com/sun/net/ssl \
 174     lib/security
 175 
 176 jdk_security4 = \
 177     com/sun/security/jgss \
 178     javax/security/auth/kerberos \
 179     sun/security/krb5 \
 180     sun/security/jgss
 181 
 182 jdk_security = \
 183     :jdk_security1 \
 184     :jdk_security2 \
 185     :jdk_security3 \
 186     :jdk_security4
 187 
 188 jdk_text = \
 189     java/text \
 190     sun/text
 191 
 192 jdk_management = \
 193     java/lang/management \
 194     com/sun/management \
 195     sun/management
 196 
 197 jdk_instrument = \
 198     java/lang/instrument
 199 
 200 jdk_jmx = \
 201     javax/management \
 202     com/sun/jmx
 203 
 204 jdk_jdi = \
 205     com/sun/jdi
 206 
 207 jdk_native_sanity = \
 208     native_sanity
 209 
 210 # java launcher specific tests, Note: do not include this group into any groups
 211 # that potentially could be included into a jprt test rule, as the complementary
 212 # closed  group includes awt SplashScreen and these tests may not run 
 213 # satisfacotorily on all platforms and  profiles thus this group must always 
 214 # be a stand-alone group
 215 jdk_launcher = \
 216     tools/launcher \
 217     sun/tools
 218     
 219 #
 220 # Tool (and tool API) tests are split into core and svc groups
 221 #
 222 core_tools = \
 223     tools \
 224     jdk/internal/jimage \
 225     jdk/internal/jrtfs \
 226     sun/tools/java \
 227     sun/tools/jrunscript
 228 
 229 svc_tools = \
 230     com/sun/tools/attach \
 231     sun/tools \
 232     -sun/tools/java \
 233     -sun/tools/jrunscript \
 234     sun/jvmstat \
 235     demo/jvmti
 236 
 237 jdk_tools = \
 238     :core_tools \
 239     :svc_tools
 240 
 241 #
 242 # Catch-all for other areas with a small number of tests
 243 #
 244 jdk_other = \
 245     java/sql \
 246     javax/sql \
 247     javax/rmi \
 248     javax/naming \
 249     javax/script \
 250     javax/smartcardio \
 251     javax/xml \
 252     -javax/xml/crypto \
 253     jdk/asm \
 254     jdk/internal/jline \
 255     com/sun/jndi \
 256     com/sun/corba \
 257     lib/testlibrary \
 258     sample
 259 
 260 #
 261 # SCTP is its own group as it is highly sensitive to kernel/network config
 262 #
 263 jdk_sctp = \
 264     com/sun/nio/sctp
 265 
 266 
 267 #
 268 # core group to run all core area tests
 269 #
 270 jdk_core = \
 271     :jdk_lang \
 272     :jdk_util \
 273     :jdk_math \
 274     :jdk_io \
 275     :jdk_nio \
 276     :jdk_net \
 277     :jdk_rmi \
 278     :jdk_time \
 279     :jdk_security \
 280     :jdk_text \
 281     :core_tools \
 282     :jdk_other
 283 
 284 #
 285 # svc group to run all serviceability area tests
 286 #
 287 jdk_svc = \
 288     :jdk_management \
 289     :jdk_instrument \
 290     :jdk_jmx \
 291     :jdk_jdi \
 292     :svc_tools
 293 
 294 #############################
 295 
 296 #
 297 # Client area groups
 298 #
 299 
 300 jdk_awt = \
 301     java/awt \
 302     com/sun/awt \
 303     com/apple/eawt \
 304     sun/awt
 305 
 306 jdk_2d = \
 307     javax/print \
 308     sun/pisces  \
 309     sun/java2d
 310 
 311 jdk_beans = \
 312     java/beans
 313 
 314 jdk_swing = \
 315     javax/accessibility \
 316     javax/swing \
 317     com/sun/java/swing
 318 
 319 jdk_sound = \
 320     javax/sound
 321 
 322 jdk_imageio = \
 323     javax/imageio
 324 
 325 jdk_desktop = \
 326     :jdk_awt \
 327     :jdk_2d \
 328     :jdk_beans \
 329     :jdk_swing \
 330     :jdk_sound \
 331     :jdk_imageio
 332 
 333 ###############################################################################
 334 #
 335 # Serviceability sanity groups
 336 #
 337 # These groups specify a subset of Serviceability tests that are supposed to
 338 # guard against breakage of Serviceability features by other component teams.
 339 # They are added to the "hotspot" testset in JPRT so that they will run on all
 340 # full-forest pushes through JPRT.
 341 #
 342 
 343 jdk_svc_sanity = \
 344     :jdk_management_sanity \
 345     :jdk_instrument_sanity \
 346     :jdk_jmx_sanity \
 347     :jdk_jdi_sanity \
 348     :svc_tools_sanity
 349 
 350 jdk_management_sanity =
 351 
 352 jdk_instrument_sanity =
 353 
 354 jdk_jmx_sanity =
 355 
 356 jdk_jdi_sanity = \
 357     com/sun/jdi/AcceptTimeout.java \
 358     com/sun/jdi/AccessSpecifierTest.java \
 359     com/sun/jdi/AfterThreadDeathTest.java \
 360     com/sun/jdi/ArrayRangeTest.java \
 361     com/sun/jdi/ConstantPoolInfo.java \
 362     com/sun/jdi/CountFilterTest.java \
 363     com/sun/jdi/EarlyReturnNegativeTest.java \
 364     com/sun/jdi/EarlyReturnTest.java \
 365     com/sun/jdi/FieldWatchpoints.java \
 366     com/sun/jdi/FramesTest.java \
 367     com/sun/jdi/InstanceFilter.java \
 368     com/sun/jdi/InterfaceMethodsTest.java \
 369     com/sun/jdi/InvokeTest.java \
 370     com/sun/jdi/LocalVariableEqual.java \
 371     com/sun/jdi/LocationTest.java \
 372     com/sun/jdi/ModificationWatchpoints.java \
 373     com/sun/jdi/MonitorEventTest.java \
 374     com/sun/jdi/MonitorFrameInfo.java \
 375     com/sun/jdi/NullThreadGroupNameTest.java \
 376     com/sun/jdi/PopAndStepTest.java \
 377     com/sun/jdi/PopAsynchronousTest.java \
 378     com/sun/jdi/ProcessAttachTest.java \
 379     com/sun/jdi/ReferrersTest.java \
 380     com/sun/jdi/RequestReflectionTest.java \
 381     com/sun/jdi/ResumeOneThreadTest.java \
 382     com/sun/jdi/RunToExit.java \
 383     com/sun/jdi/SourceNameFilterTest.java \
 384     com/sun/jdi/VarargsTest.java \
 385     com/sun/jdi/Vars.java \
 386     com/sun/jdi/redefineMethod/RedefineTest.java \
 387     com/sun/jdi/sde/MangleTest.java \
 388     com/sun/jdi/sde/TemperatureTableTest.java
 389 
 390 svc_tools_sanity =
 391 
 392 #############################
 393 #
 394 # Stable test groups
 395 #
 396 
 397 jdk_stable = \
 398     :jdk_core \
 399     :jdk_svc \
 400     :jdk_beans \
 401     :jdk_imageio \
 402     :jdk_sound \
 403     :jdk_sctp \
 404     javax/accessibility \
 405     com/sun/java/swing \
 406     sun/pisces \
 407     com/sun/awt
 408 
 409 
 410 ###############################################################################
 411 # Profile-based Test Group Definitions
 412 #
 413 # These groups define the tests that cover the different possible runtimes:
 414 # - compact1, compact2, compact3, full JRE, JDK
 415 #
 416 # In addition they support testing of the minimal VM on compact1 and compact2.
 417 # Essentially this defines groups based around the specified API's and VM
 418 # services available in the runtime.
 419 #
 420 # The groups are defined hierarchically in two forms:
 421 # - The need_xxx groups list all the tests that have a dependency on
 422 # a specific profile. This is either because it tests a feature in
 423 # that profile, or the test infrastructure uses a feature in that
 424 # profile.
 425 # - The primary groups are defined in terms of the other primary groups
 426 # combined with the needs_xxx groups (including and excluding them as
 427 # appropriate). For example the jre can run all tests from compact3, plus
 428 # those from needs_jre, but excluding those from need_jdk.
 429 #
 430 # The bottom group defines all the actual tests to be considered, simply
 431 # by listing the top-level test directories.
 432 
 433 # Full JDK can run all tests
 434 #
 435 jdk = \
 436   :jre \
 437   :needs_jdk
 438 
 439 # Tests that require a full JDK to execute. Either they test a feature
 440 # only in the JDK or they use tools that are only in the JDK. The latter
 441 # can be resolved in some cases by using tools from the compile-jdk.
 442 #
 443 needs_jdk = \
 444   :jdk_jdi \
 445   com/sun/tools \
 446   demo \
 447   sun/security/tools/jarsigner \
 448   sun/security/tools/policytool \
 449   sun/rmi/rmic \
 450   sun/tools \
 451   sun/jvmstat \
 452   tools \
 453   com/sun/jmx/remote/NotificationMarshalVersions/TestSerializationMismatch.java \
 454   java/io/Serializable/serialver \
 455   java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java \
 456   java/lang/invoke/lambda/LambdaAccessControlTest.java \
 457   java/lang/invoke/lambda/LambdaAsm.java \
 458   java/lang/System/MacEncoding/TestFileEncoding.java \
 459   java/net/URLClassLoader/closetest/GetResourceAsStream.java \
 460   java/util/Collections/EmptyIterator.java \
 461   java/util/concurrent/locks/Lock/TimedAcquireLeak.java \
 462   java/util/jar/JarInputStream/ExtraFileInMetaInf.java \
 463   java/util/logging/TestLoggerWeakRefLeak.java \
 464   java/util/zip/3GBZipFiles.sh \
 465   jdk/lambda/separate/Compiler.java \
 466   sun/management/jmxremote/bootstrap/JvmstatCountersTest.java \
 467   sun/management/jmxremote/bootstrap/LocalManagementTest.java \
 468   sun/management/jmxremote/bootstrap/CustomLauncherTest.java \
 469   sun/misc/JarIndex/metaInfFilenames/Basic.java \
 470   sun/misc/JarIndex/JarIndexMergeForClassLoaderTest.java \
 471   sun/reflect/CallerSensitive/CallerSensitiveFinder.java \
 472   sun/reflect/CallerSensitive/MissingCallerSensitive.java \
 473   sun/security/util/Resources/NewNamesFormat.java \
 474   vm/verifier/defaultMethods/DefaultMethodRegressionTestsRun.java \
 475   javax/xml/ws/clientjar/TestWsImport.java 
 476 
 477 # JRE adds further tests to compact3
 478 #
 479 jre = \
 480   :compact3 \
 481   :needs_jre \
 482  -:needs_jdk
 483 
 484 # Tests that require the full JRE
 485 #
 486 needs_jre = \
 487   :needs_charsets \
 488   :jdk_desktop \
 489   com/sun/corba \
 490   com/sun/jndi/cosnaming \
 491   com/oracle/security/ucrypto/Test8004873.java \
 492   com/oracle/security/ucrypto/TestAES.java \
 493   com/oracle/security/ucrypto/TestDigest.java \
 494   com/oracle/security/ucrypto/TestRSA.java \
 495   sun/net/ftp \
 496   sun/net/www/protocol/ftp \
 497   java/net/URI/URItoURLTest.java \
 498   java/net/URL/URIToURLTest.java \
 499   java/net/URLConnection/HandleContentTypeWithAttrs.java \
 500   java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh \
 501   java/security/Security/ClassLoaderDeadlock/Deadlock.sh \
 502   java/util/jar/Manifest/CreateManifest.java \
 503   java/util/logging/TestMainAppContext.java \
 504   java/util/logging/TestLoggingWithMainAppContext.java \
 505   java/util/ResourceBundle/Control/Bug6530694.java \
 506   java/text/Bidi/BidiConformance.java \
 507   java/text/Bidi/BidiEmbeddingTest.java \
 508   java/text/Bidi/Bug7042148.java \
 509   java/text/Bidi/Bug7051769.java \
 510   javax/crypto/Cipher/CipherStreamClose.java \
 511   javax/management/monitor/AttributeArbitraryDataTypeTest.java \
 512   javax/management/mxbean/AmbiguousConstructorTest.java \
 513   javax/management/mxbean/ExceptionDiagnosisTest.java \
 514   javax/management/mxbean/LeakTest.java \
 515   javax/management/mxbean/MXBeanTest.java \
 516   javax/management/mxbean/PropertyNamesTest.java \
 517   jdk/lambda/vm/InterfaceAccessFlagsTest.java \
 518   sun/misc/URLClassPath/ClassnameCharTest.java
 519 
 520 # Tests dependent on the optional charsets.jar
 521 # These are isolated for easy exclusions
 522 #
 523 needs_charsets = \
 524   java/io/OutputStreamWriter/TestWrite.java \
 525   java/nio/charset/RemovingSunIO/SunioAlias.java \
 526   java/nio/charset/coders/Check.java \
 527   java/nio/charset/Charset/CharsetContainmentTest.java \
 528   java/nio/charset/Charset/Contains.java \
 529   java/nio/charset/Charset/NIOCharsetAvailabilityTest.java \
 530   java/nio/charset/Charset/RegisteredCharsets.java \
 531   java/nio/charset/CharsetEncoder/Flush.java \
 532   java/nio/charset/coders/CheckSJISMappingProp.sh \
 533   java/nio/charset/coders/ResetISO2022JP.java \
 534   java/util/Locale/InternationalBAT.java \
 535   java/util/Locale/LocaleProviders.sh \
 536   java/util/Calendar/CldrFormatNamesTest.java \
 537   java/util/TimeZone/CLDRDisplayNamesTest.java \
 538   java/util/zip/ZipCoding.java \
 539   sun/nio/cs/EucJpLinux0212.java \
 540   sun/nio/cs/EUCJPUnderflowDecodeTest.java \
 541   sun/nio/cs/EuroConverter.java \
 542   sun/nio/cs/JISAutoDetectTest.java \
 543   sun/nio/cs/OLD/TestIBMDB.java \
 544   sun/nio/cs/SJISCanEncode.java \
 545   sun/nio/cs/Test6254467.java \
 546   sun/nio/cs/TestCp834_SBCS.java \
 547   sun/nio/cs/TestEUC_TW.java \
 548   sun/nio/cs/TestISO2022CNDecoder.java \
 549   sun/nio/cs/TestISO2022JPEncoder.java \
 550   sun/nio/cs/TestISO2022JPSubBytes.java \
 551   sun/nio/cs/TestIllegalSJIS.java \
 552   sun/nio/cs/TestJIS0208Decoder.java \
 553   sun/nio/cs/TestJIS0212Decoder.java \
 554   sun/nio/cs/TestMiscEUC_JP.java \
 555   sun/nio/cs/TestSJIS0213_SM.java \
 556   sun/nio/cs/BufferUnderflowEUCTWTest.java \
 557   sun/nio/cs/CheckCaseInsensitiveEncAliases.java \
 558   sun/nio/cs/CheckHistoricalNames.java \
 559   sun/nio/cs/EucJpLinuxDecoderRecoveryTest.java \
 560   sun/nio/cs/HWKatakanaMS932EncodeTest.java \
 561   sun/nio/cs/ISCIITest.java \
 562   sun/nio/cs/LatinCharReplacementTWTest.java \
 563   sun/nio/cs/NIOJISAutoDetectTest.java \
 564   sun/nio/cs/StreamEncoderClose.java \
 565   sun/nio/cs/SurrogateGB18030Test.java \
 566   sun/nio/cs/SurrogateTestEUCTW.java \
 567   sun/nio/cs/SurrogateTestHKSCS.java \
 568   sun/nio/cs/TestConverterDroppedCharacters.java \
 569   sun/nio/cs/TestCp93xSISO.java \
 570   sun/nio/cs/TestIBM1364.java \
 571   sun/nio/cs/TestIBMBugs.java \
 572   sun/nio/cs/TestIllegalISO2022Esc.java \
 573   sun/nio/cs/TestISO2022JP.java \
 574   sun/nio/cs/TestMS5022X.java \
 575   sun/nio/cs/TestSJIS0213.java \
 576   sun/nio/cs/TestTrailingEscapesISO2022JP.java \
 577   sun/nio/cs/TestUni2HKSCS.java \
 578   sun/nio/cs/ZeroedByteArrayEUCTWTest.java
 579 
 580 # Compact 3 adds further tests to compact2
 581 #
 582 compact3 = \
 583   :compact2 \
 584   :needs_compact3 \
 585  -:needs_jre \
 586  -:needs_jdk
 587 
 588 
 589 # Tests that require compact3 API's
 590 #
 591 needs_compact3 = \
 592   :jdk_instrument \
 593   :jdk_jmx \
 594   :jdk_management \
 595   :jdk_sctp \
 596   com/sun/jndi \
 597   com/sun/org/apache/xml/internal/security \
 598   com/sun/security/auth \
 599   com/sun/security/sasl \
 600   com/sun/security/jgss \
 601   java/util/prefs \
 602   javax/naming \
 603   javax/security \
 604   javax/smartcardio \
 605   javax/sql/rowset \
 606   javax/xml/crypto \
 607   sun/security/jgss \
 608   sun/security/krb5 \
 609   java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java \
 610   java/lang/invoke/lambda/LambdaStackTrace.java \
 611   java/lang/invoke/LFCaching/LFGarbageCollectedTest.java \
 612   java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java \
 613   java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java \
 614   java/lang/System/MacEncoding/TestFileEncoding.java \
 615   java/nio/channels/AsynchronousSocketChannel/Leaky.java \
 616   java/security/PermissionCollection/Concurrent.java \
 617   java/security/Principal/Implies.java \
 618   java/security/cert/GetInstance.java \
 619   java/util/logging/DrainFindDeadlockTest.java \
 620   java/util/logging/LoggingMXBeanTest.java \
 621   java/util/logging/TestLogConfigurationDeadLock.java \
 622   java/util/logging/TestLoggerBundleSync.java \
 623   sun/net/www/http/KeepAliveCache/B5045306.java \
 624   sun/security/provider/PolicyFile/Alias.java \
 625   sun/security/provider/PolicyFile/Comparator.java \
 626   sun/security/provider/PolicyFile/SelfWildcard.java \
 627   sun/security/ssl/SSLEngineImpl/SSLEngineDeadlock.java \
 628   sun/security/util/Oid/OidFormat.java \
 629   sun/security/util/Resources/Format.java \
 630   sun/security/util/Resources/NewNamesFormat.java
 631 
 632 # Compact 2 adds full VM tests
 633 compact2 = \
 634   :compact2_minimal \
 635   :compact1 \
 636   :needs_full_vm_compact2 \
 637  -:needs_compact3 \
 638  -:needs_jre \
 639  -:needs_jdk
 640 
 641 # Tests that require compact2 API's and a full VM
 642 #
 643 needs_full_vm_compact2 =
 644 
 645 # Minimal VM on Compact 2 adds in some compact2 tests
 646 #
 647 compact2_minimal = \
 648   :compact1_minimal \
 649   :needs_compact2 \
 650  -:needs_compact3 \
 651  -:needs_jre \
 652  -:needs_jdk
 653 
 654 # Tests that require compact2 API's
 655 #
 656 needs_compact2 = \
 657   :jdk_rmi \
 658   :jdk_time \
 659   com/sun/org/apache \
 660   com/sun/net/httpserver \
 661   java/sql \
 662   javax/sql \
 663   javax/xml \
 664   jdk/lambda \
 665   sun/net/www/http \
 666   sun/net/www/protocol/http \
 667   java/io/BufferedReader/Lines.java  \
 668   java/lang/reflect/DefaultStaticTest/DefaultStaticInvokeTest.java \
 669   java/lang/IntegralPrimitiveToString.java  \
 670   java/lang/PrimitiveSumMinMaxTest.java  \
 671   java/lang/String/StringJoinTest.java  \
 672   java/lang/Thread/StopThrowable.java  \
 673   java/net/Authenticator/B4769350.java \
 674   java/net/Authenticator/Deadlock.java \
 675   java/net/CookieHandler/LocalHostCookie.java \
 676   java/net/CookieHandler/CookieManagerTest.java \
 677   java/net/CookieHandler/EmptyCookieHeader.java \
 678   java/net/HttpCookie/IllegalCookieNameTest.java \
 679   java/net/HttpURLConnection/UnmodifiableMaps.java \
 680   java/net/ResponseCache/Test.java \
 681   java/net/URLClassLoader/ClassLoad.java \
 682   java/net/URLClassLoader/closetest/CloseTest.java \
 683   java/net/URLPermission/URLTest.java \
 684   java/nio/Buffer/Chars.java  \
 685   java/nio/file/Files/StreamTest.java  \
 686   java/security/BasicPermission/Wildcard.java \
 687   java/util/Arrays/ParallelPrefix.java  \
 688   java/util/Arrays/SetAllTest.java  \
 689   java/util/BitSet/BitSetStreamTest.java  \
 690   java/util/Collection/CollectionDefaults.java  \
 691   java/util/Collections/CheckedIdentityMap.java  \
 692   java/util/Collections/CheckedMapBash.java  \
 693   java/util/Collections/CheckedSetBash.java  \
 694   java/util/Collections/EmptyCollectionSerialization.java  \
 695   java/util/Collections/EmptyNavigableMap.java  \
 696   java/util/Collections/EmptyNavigableSet.java  \
 697   java/util/Collections/UnmodifiableMapEntrySet.java  \
 698   java/util/Comparator/BasicTest.java  \
 699   java/util/Comparator/TypeTest.java  \
 700   java/util/Iterator/IteratorDefaults.java  \
 701   java/util/Iterator/PrimitiveIteratorDefaults.java  \
 702   java/util/List/ListDefaults.java  \
 703   java/util/Map/BasicSerialization.java  \
 704   java/util/Map/Defaults.java  \
 705   java/util/Map/EntryComparators.java  \
 706   java/util/Optional/Basic.java  \
 707   java/util/Optional/BasicDouble.java  \
 708   java/util/Optional/BasicInt.java  \
 709   java/util/Optional/BasicLong.java  \
 710   java/util/Random/RandomStreamTest.java  \
 711   java/util/ResourceBundle/Bug6359330.java  \
 712   java/util/Spliterator/SpliteratorCharacteristics.java  \
 713   java/util/Spliterator/SpliteratorCollisions.java  \
 714   java/util/Spliterator/SpliteratorLateBindingFailFastTest.java  \
 715   java/util/Spliterator/SpliteratorTraversingAndSplittingTest.java  \
 716   java/util/StringJoiner/MergeTest.java  \
 717   java/util/StringJoiner/StringJoinerTest.java  \
 718   java/util/concurrent/atomic/AtomicReferenceTest.java  \
 719   java/util/function/BinaryOperator/BasicTest.java  \
 720   java/util/logging/LoggerSupplierAPIsTest.java  \
 721   java/util/zip/ZipFile/StreamZipEntriesTest.java \
 722   java/util/zip/ZipFile/DeleteTempJar.java \
 723   javax/crypto/Cipher/CipherStreamClose.java \
 724   sun/net/www/protocol/https/HttpsURLConnection/HttpsCreateSockTest.java \
 725   sun/net/www/protocol/https/HttpsURLConnection/HttpsSocketFacTest.java
 726 
 727 # Compact 1 adds full VM tests
 728 #
 729 compact1 = \
 730   :compact1_minimal \
 731   :needs_full_vm_compact1 \
 732  -:needs_compact2 \
 733  -:needs_full_vm_compact2 \
 734  -:needs_compact3 \
 735  -:needs_jre \
 736  -:needs_jdk
 737 
 738 # Tests that require compact1 API's and a full VM
 739 #
 740 needs_full_vm_compact1 =
 741 
 742 # All tests that run on the most minimal configuration: Minimal VM on Compact 1
 743 compact1_minimal = \
 744   com \
 745   java \
 746   javax \
 747   jdk \
 748   lib \
 749   sample \
 750   sun \
 751   vm \
 752  -:needs_full_vm_compact1 \
 753  -:needs_full_vm_compact2 \
 754  -:needs_compact2 \
 755  -:needs_compact3 \
 756  -:needs_jre \
 757  -:needs_jdk