You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/07/12 09:49:50 UTC

[jira] Commented: (KARAF-118) Update Pax Url Wrap to version 1.1.3

    [ https://issues.apache.org/jira/browse/KARAF-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887292#action_12887292 ] 

Charles Moulliard commented on KARAF-118:
-----------------------------------------

Class has been corrected --> org.ops4j.pax.swissbox.bnd.BndUtils

{code}
  private static PipedInputStream createInputStream(Jar jar)
    throws IOException
  {
    PipedInputStream pin = new PipedInputStream();
    PipedOutputStream pout = new PipedOutputStream(pin);

    new Thread(jar, pout)
    {
      public void run()
      {
        try
        {
          this.val$jar.write(this.val$pout);
        }
        catch (IOException e)
        {
        }
        finally
        {
          try
          {
            this.val$jar.close();
            this.val$pout.close();
          }
          catch (IOException ignore)
          {
            BndUtils.LOG.error("Bundle cannot be generated", ignore);
          }
        }
      }
    }
    .start();

    return pin;
  }
{code}

So we can install PAx Url Wrap 1.1.3

> Update Pax Url Wrap to version 1.1.3
> ------------------------------------
>
>                 Key: KARAF-118
>                 URL: https://issues.apache.org/jira/browse/KARAF-118
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Charles Moulliard
>             Fix For: 2.0.0
>
>
> A bug concerning Pax Swissbox and Pax Url Wrap (class org.ops4j.pax.swissbox.bnd.BndUtils ) has been solved :
> http://issues.ops4j.org/browse/PAXSB-33
> If the patch to solve the issue has been applied to Pax Url Wrap, it could be interesting  to upgrade.
> Concern : http://fusesource.com/issues/browse/ESB-1063

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.