Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322643

Summary: java's jarsigner cannot handle aspectj bundles because of invalid manifest headers
Product: [Tools] AspectJ Reporter: Erdal Karaca <erdal.karaca.de>
Component: RuntimeAssignee: aspectj inbox <aspectj-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: robin.rosenberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Erdal Karaca CLA 2010-08-13 07:44:20 EDT
Build Identifier: 

at least these bundles cannot be signed using jdk's jarsigner version 1.5.0_14/15
- org.aspectj.runtime
- org.aspectj.weaving

The reasong is that the manifest headers end with the "LF" character instead of "CRLF" sequence.
See bug at http://bugs.sun.com/view_bug.do?bug_id=6712755

I switched to a newer jdk...

Reproducible: Always
Comment 1 Robin Rosenberg CLA 2010-08-19 17:16:06 EDT
Same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=322643 ?
Comment 2 Erdal Karaca CLA 2010-08-20 03:19:38 EDT
Did you paste the wrong URL? - 322643 is this bug...
Comment 3 Robin Rosenberg CLA 2010-08-20 04:38:17 EDT
Yes, i meant this one: https://bugs.eclipse.org/bugs/show_bug.cgi?id=241467
Comment 4 Erdal Karaca CLA 2010-08-20 04:51:09 EDT
So, if manifest headers end with LF, this will work on linux using 1.5.0_14/15, but not on windows (my case).
I.e. that is really a jarsigner bug which is not related to eclipse or other frameworks...