Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8319566

Some corelibs tests ignore vm options

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • None
    • 22, 23
    • core-libs
    • None

    Description

      The tests should fork new VM using options set by jtreg or be marked as vm.flagless. This bug is an umbrella issue to track all such tests in the corelibs area.

      The fix is usually to change ProcessTools.createLimitedTestJavaProcessBuilder(..) or new ProcessBuilder() to
      ProcessTools.createTestJavaProcessBuilder(..)

      The tests that shouldn't be executed with additional options needs to be marked with
      @requires vm.flagless

      The order of jtreg tags is:
          @test
          @bug
          @summary
          @key
          @requires
          ...

      Please feel free to change subcomponent/any other parameters in the sub-tasks.

      Attachments

        Issue Links

          1.
          Update java/lang/invoke tests to support vm flags Sub-task Resolved Mandy Chung  
          2.
          Update java/lang/reflect/exeCallerAccessTest/CallerAccessTest.java to accept vm flags Sub-task Resolved Mandy Chung  
          3.
          Several java/util tests should be updated to accept VM flags Sub-task Resolved Justin Lu  
          4.
          Update jni/nullCaller/NullCallerTest.java to accept flags or mark as flagless Sub-task Resolved Tim Prinzing  
          5.
          Test jdk/incubator/vector/LoadJsvmlTest.java ignores VM flags Sub-task Resolved Sandhya Viswanathan  
          6.
          Exec/process tests should be marked as flagless Sub-task Resolved Roger Riggs  
          7.
          Few java/lang/System/LoggerFinder/modules tests ignore vm flags Sub-task Resolved Darragh Clarke  
          8.
          java/lang/SecurityManager tests ignore vm flags Sub-task Resolved Matthew Donovan  
          9.
          Several network tests ignore vm flags when start java process Sub-task Resolved Darragh Clarke  
          10.
          Few io/nio tests ignore vm flags when start new java process Sub-task Open Brian Burkhalter  
          11.
          Several classloader tests ignore VM flags Sub-task Resolved Mandy Chung  
          12.
          Few security tests ignore VM flags Sub-task Resolved Matthew Donovan  
          13.
          A couple of jdk/modules/incubator/ tests ignore VM flags Sub-task Resolved Mandy Chung  
          14.
          Test jdk/internal/misc/VM/RuntimeArguments.java should be marked as flagless Sub-task Resolved Mandy Chung  
          15.
          Several tests from corelibs areas ignore VM flags Sub-task Resolved Mahendra Chhipa  
          16.
          javax/script/ProviderTest.sh ignore vm flags Sub-task New Unassigned  
          17.
          Several sun/security/ssl/SSLSessionImpl/* tests override test.java.opts Sub-task New Unassigned  
          18.
          Several security shell tests don't set TESTJAVAOPTS Sub-task New Unassigned  

          Activity

            People

              Unassigned Unassigned
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: