Announcement Announcement Module
Collapse
No announcement yet.
Bundlor Bug - imports com.sun packages even after providing java 6 profiel config. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bundlor Bug - imports com.sun packages even after providing java 6 profiel config.

    I have a test bundle with the following code

    Code:
    package com.test;
    
    import java.security.Security;
    
    public class Test {
    	static {
    		try {
    			Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    		} catch (Exception e) {
    	}}
    }

    This is the command i run

    [code]

    .\bin\bundlor.bat -i jars\testbundle-1.0.0.jar -o bundles\testbundle-1.0.0.jar -p profile\java6-server.profile -m template\MANIFEST.MF

    [code]

    This is the manifest

    Code:
    Bundle-Name: test
    Bundle-Description: test.jar
    Bundle-ManifestVersion: 2
    Bundle-SymbolicName: test
    Bundle-Vendor: test

    Still teh manifest fiel generated has a import to com.sun.net.ssl.internal.ssl.

    Isnt this a BUG ?
Working...
X