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

Add 3 new test scenarios for testing Main-Class attribute in jar manifest file

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        As part of bug escape analysis for CR 7067922, 3 new test scenarios were identified that should be added to test Main-Class attribute in manifest file. These scenarios are:
        - Main-Class attribute has value with .class extension.
        - Main-Class attribute itself is misspelled
        - Class name for the Main-Class attribute is misspelled.

          Issue Links

            Activity

            Hide
            sogoel Sonali Goel added a comment -
            BT2:EVALUATION

            The tests have been created and were tested with a JPRT build for Linux/Solaris/Solaris-Sparc.
            A jtreg test run with LC_ALL set to 'ja_JP.UTF-8' also ran fine as expected.
            http://sqeweb.sfbay.sun.com/deployment2/sonali/webrevs/7141141/
            Show
            sogoel Sonali Goel added a comment - BT2:EVALUATION The tests have been created and were tested with a JPRT build for Linux/Solaris/Solaris-Sparc. A jtreg test run with LC_ALL set to 'ja_JP.UTF-8' also ran fine as expected. http://sqeweb.sfbay.sun.com/deployment2/sonali/webrevs/7141141/
            Hide
            sogoel Sonali Goel added a comment -
            Show
            sogoel Sonali Goel added a comment - BT2:PUBLIC COMMENTS Changeset: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/24478d62d068

              People

              • Assignee:
                sogoel Sonali Goel
                Reporter:
                sogoel Sonali Goel
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: