| Summary: | SignatureBlockProcessor does not support all types of line continuations | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Thomas Watson <tjwatson> |
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jjones |
| Version: | 3.7 | ||
| Target Milestone: | Juno M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Thomas Watson
I am using buckminster to generate an RCP appliation which is signed, so that I can implement OSGi Security. For some reason, a few of the JARs which are signed are terminated with \n, while most are \r\n. If you follow the specification, according to http://download.oracle.com/javase/6/docs/technotes/guides/jar/jar.html#Index%20File%20Specification you will see that a signature manifest can have line continuations terminated with \r\n, | \n | \r I noticed this problem while using the P2 Director application in order to install this P2 application from a P2 Repository, and getting an exception that a file had been removed from one of the bundles, one was like Something.lass This led me to find that the current processing code was removing one of the characters from any file that was longer than 72 characters to list, and had a line termination of a \n. This was indeed the case. Fixed with the following commit: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=d53dcdd9966ba8c5365fbf22a85a18915c6c2931 |