Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6632

Re: Unsealing a jar file at runtime

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!news-1.dfn.de!news.dfn.de!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail
Newsgroups comp.lang.java.programmer
From Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at>
Subject Re: Unsealing a jar file at runtime
References <f0b4a955-9046-4f5d-9fe1-1fc8feea535d@p31g2000vbs.googlegroups.com>
Reply-To avl@logic.at
User-Agent slrn/pre0.9.9-111 (Linux)
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <slrnj32hi4.6gl.avl@gamma.logic.tuwien.ac.at> (permalink)
Date 28 Jul 2011 11:21:40 GMT
Lines 13
NNTP-Posting-Host gamma.logic.tuwien.ac.at
X-Trace 1311852100 tunews.univie.ac.at 71616 128.130.175.3
X-Complaints-To abuse@tuwien.ac.at
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6632

Show key headers only | View raw


raphfrk@gmail.com <raphfrk@gmail.com> wrote:
> I don't suppose that this is possible, perhaps with reflection?
> The idea is for a plugin to extend a class, but the class is not a
> public class, so can only be extended from within the same package.
> If the jar file was unsealed, then a class could be created within the
> plugin that is in the same package, is public and extends the non-
> public class.

Breaking open a seal is typically easily done.
Reinstating someone else's seal on the changed
content is "believed" to be much harder. I also
believe that it is, but I'm no crypto-expert.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Unsealing a jar file at runtime "raphfrk@gmail.com" <raphfrk@gmail.com> - 2011-07-28 02:36 -0700
  Re: Unsealing a jar file at runtime Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-07-28 11:21 +0000
    Re: Unsealing a jar file at runtime lewbloch <lewbloch@gmail.com> - 2011-07-29 13:42 -0700
    Re: Unsealing a jar file at runtime "raphfrk@gmail.com" <raphfrk@gmail.com> - 2011-08-01 14:48 -0700
      Re: Unsealing a jar file at runtime Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-01 21:22 -0400
      Re: Unsealing a jar file at runtime Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-02 13:41 +0000

csiph-web