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