From: "Jeroen Frijters" <jeroen@sumatra.nl>
To: "Olivier Jolly" <olivier.jolly@pcedev.com>
Cc: <mauve-discuss@sources.redhat.com>,
"Mauve Patch List" <mauve-patches@sources.redhat.com>
Subject: RE: runFinalization in Classloader.initialize doesn't run on cacao
Date: Sat, 11 Mar 2006 21:58:00 -0000 [thread overview]
Message-ID: <D92197D0A6547B44A1567814F851FA681805CA@LEMBU.sumatrasoftware.com> (raw)
Olivier Jolly wrote:
> Ok, I feared something like this. However, the way this test
> is written seems very obscure (to me at least). Could you advise me
why
> is the class loader created with an exception thrown in the
constructor
> and then the reference to the semi-created instance is retrieved in
the
> finalizer. And then I wonder why it then raises SecurityException
> instead of ClassFormatError. I reread about the finalizer semantic and
> the ClassLoader api without finding a clue.
Read http://www.securingjava.com/chapter-five/chapter-five-8.html for a
description of the class loader attack that this is simulating.
Regards,
Jeroen
next reply other threads:[~2006-03-11 21:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-11 21:58 Jeroen Frijters [this message]
2006-03-11 22:18 ` Olivier Jolly
-- strict thread matches above, loose matches on Subject: below --
2006-03-11 19:07 Jeroen Frijters
2006-03-11 21:26 ` Olivier Jolly
2006-03-11 18:50 Olivier Jolly
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D92197D0A6547B44A1567814F851FA681805CA@LEMBU.sumatrasoftware.com \
--to=jeroen@sumatra.nl \
--cc=mauve-discuss@sources.redhat.com \
--cc=mauve-patches@sources.redhat.com \
--cc=olivier.jolly@pcedev.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).