JDK-4748316 : PIT 02 : Comparision with extension's version format x.x.x_xxa fails
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 2002-09-17
  • Updated: 2002-09-17
  • Resolved: 2002-09-17
Related Reports
Relates :  
Relates :  
Description
OS           : Generic
Browser      : Generic 
Build Tested : Mantis Pit 02

Problem Description : Invalid error messages are thrown while comparing with supported version formats for optional packages.


Steps to Reproduce : 

1.) Install the PIT 02 mantis build on the target machine from
    /net/sqesvr/deployment3/mantis/JPI-PIT-02/bundles
2.) Launch the browser and execute the following link      
    http://sqesvr.sfbay/deployment2/rpallath/tmp/4706342/testRect13SameName.html
3)  Click thru' all dialogs
4)  It should display Rectangle Area
5)  Now launch the following applet in the browser 
    http://sqesvr.sfbay/deployment2/rpallath/tmp/4706342/testRectangle.html
6)  The dialog would display specification version 1.3.1_01a
7)  Click thru' all dialogs

Result : It throws the following exception in the JPI Console
_______________________________________________________________________________

ERROR: Invalid version format used in javax.RectanglePerimeter JAR file. 
Check the documentation for the supported version format.
ERROR: Invalid version format used in javax.RectanglePerimeter JAR file. 
Check the documentation for the supported version format.
_______________________________________________________________________________


Comments
EVALUATION Committing to Mantis. ###@###.### 2002-09-17 The version used in the manifest file was indeed invalid. We do not support n.n.nl (i.e. 1.2.3a), we only support n.n.n_nnl (i.e. 1.2.3_45a). So the error message that was displayed to the user is valid (expected error). Close as not a bug. The version numbers are ok for RectangleArea but not for RectanglePerimeter. Some of the manifest entries that where used in the test: Extension-List: RectangleArea RectanglePerimeter RectanglePerimeter-Extension-Name: javax.RectanglePerimeter RectanglePerimeter-Implementation-Vendor-Id: com.sun RectangleArea-Implementation-Version: 1.3.1_01a RectangleArea-Specification-Version: 1.3.1_01a RectanglePerimeter-Specification-Version: 1.3.1b RectanglePerimeter-Implementation-Version: 1.3.1b RectangleArea-Extension-Name: javax.RectangleArea RectangleArea-Implementation-Vendor-Id: com.sun ###@###.### 2002-09-17
17-09-2002