Skip to content

Regression: DLL handled as classpath resource [SPR-12928] #17521

@spring-projects-issues

Description

@spring-projects-issues

Carlo Luib-Finetti opened SPR-12928 and commented

After migrating our Eclipse-based RCP-Client from Spring 2.5.6 (!) to the latest release 4.1.6 we met this strange error:

java.util.zip.ZipException: Exception in opening zip file: D:\uvdms\client\configuration\org.eclipse.osgi\bundles\101\1\.cp\lib\jacob-1.17-x86.dll

This jacob DLL comes into play as an entry in the MANIFEST.MF of one of out jars; it looks as this:

Bundle-NativeCode: lib/jacob-1.17-x86.dll

It seems that Spring treets it as classpath Jar, and the classloader tries to open it as Zip file.


Affects: 4.1.6

Issue Links:

Referenced from: commits 6a7aab0, 49f3046

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions