JDK-7141141 : Add 3 new test scenarios for testing Main-Class attribute in jar manifest file
  • Type: Enhancement
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-01-30
  • Updated: 2012-05-02
  • Resolved: 2012-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u6Fixed 8 b27Fixed
Related Reports
Relates :  
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.

PUBLIC COMMENTS Changeset: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/24478d62d068

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/