Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8218010 | 1.4.2 | Clifford Wayne | P4 | Closed | Won't Fix |
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Manifest%20Specification
A DESCRIPTION OF THE PROBLEM :
For example the Main-Class attribute indicates to use a "relative path" to the main class, but not include the .class extension. Path implies '/' separators, though using the fully qualified class name with dot '.' separators also works and seems to be common. Which is correct?
To further increase ambiguity, all the per-entry sections specify that a
pathname (i.e. slash-separated, having a ".class" suffix) is the
appropriate value for a "Name:" attribute. The examples show this, too
But other meta-data files specify that package-names or class-names are the
appropriate name form.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A less ambiguous specification with no doubt as to the correct format of the file, Preferably a more consistent spec.
ACTUAL -
Inconsistent and ambiguous specifications for the Main-Class attribute in particular.
###@###.### 2005-04-06 11:00:46 GMT
http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html#Manifest%20Specification
A DESCRIPTION OF THE PROBLEM :
For example the Main-Class attribute indicates to use a "relative path" to the main class, but not include the .class extension. Path implies '/' separators, though using the fully qualified class name with dot '.' separators also works and seems to be common. Which is correct?
To further increase ambiguity, all the per-entry sections specify that a
pathname (i.e. slash-separated, having a ".class" suffix) is the
appropriate value for a "Name:" attribute. The examples show this, too
But other meta-data files specify that package-names or class-names are the
appropriate name form.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
A less ambiguous specification with no doubt as to the correct format of the file, Preferably a more consistent spec.
ACTUAL -
Inconsistent and ambiguous specifications for the Main-Class attribute in particular.
###@###.### 2005-04-06 11:00:46 GMT
- backported by
-
JDK-8218010 Manifest file spec not clear for format of class and package names
-
- Closed
-