Closed Bug 313510 Opened 17 years ago Closed 17 years ago

New version of JEP (0.9.5), please land on trunk and branches


(Core Graveyard :: Plug-ins, defect)

Not set


(Not tracked)



(Reporter: smichaud, Assigned: jaas)



(Keywords: fixed1.8)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920
Build Identifier: na

I've just released a new version (0.9.5) of the Java Embedding Plugin:

It contains several fixes that weren't in the previous version (0.9.4+a) --
including workarounds for memory leaks from the JVM's garbage collector,
workarounds for issues that are triggered by the fix for bug 298961, and
workarounds/fixes for a number of crash bugs.

Please land JEP 0.9.5 on the trunk and branches as soon as soon as you can.
If possible, I'd really like the new version to be bundled with Firefox 1.5
RC1.  I realize that I'm squeaking in just before the deadline ... but JEP
0.9.5 would have been done a couple of days sooner if I hadn't had to deal
with the bug 298961 problems :-)

None of these issues is a show-stopper (none of them happens often enough).
But the bug 298961 issues and the crash bugs, at least, have the potential to
be visibly annoying.

(JEP 0.9.4+a is what's currently bundled with all browsers on the
trunk and branches.)

Reproducible: Didn't try
Flags: blocking1.8rc1?
Ever confirmed: true
URL: na
Drivers - smfr and I think we should do this. We have < 2 hours until code freeze, not much I could do about that. If you see this, I'm on IRC and email until after the code freeze and willing to discuss this.

This is Mac only.
Flags: blocking1.8rc1? → blocking1.8rc1+
Holding for now per discusison on email.   Want to make sure the changes are verified on trunk and are workign well before branch land.
Flags: blocking1.8rc1+ → blocking1.8rc1?
Landed on trunk.
-> josh since he's taken the initiative on getting this in.
Assignee: nobody → joshmoz
Steven - which crashes does this solve?
> which crashes does this solve?

1. In CEmbedded hostWindow (which I mentioned in the distro's Changes.txt and
   which only happens on OS X 10.4.x).

2. Several that I lumped together in item 2g of Changes.txt, which already had
   fixes in previous versions, but which I found still allowed crashes and
   therefore had to tighten up:

   a. In CWindow setState (see setState_AWTCW() and setState2_AWTCW() in

   b. In CAppletWindow cleanup (see cleanup_AWTCAW() in Handlers.m).

   c. In CEmbedded cleanup (see cleanup_AWTCE() in Handlers.m).

   d. In ThreadUtiltiies/AWTModelUpdater registerModelForUpdate (see
      registerModelForUpdate_TU() in Handlers.m).

   e. In NSViewAWTContext tickFlusher (see tickFlusher_AWTCTX() in

Like I said, none of these happens very often.  But in my tests I saw at least
one crash of each of these different kinds, when I did my
rapidly-changing-pages-with-lots-of-applets torture tests.

Possibly the most visible problem that JEP 0.9.5 fixes is one of the side
effects of the bug 298961 fix:  Open an applet.  Click once on it to put the
focus inside the applet.  Open a new tab from the menu (because the focus is
in the applet, you won't be able to use Command-T).  You'll find that you
can't enter text in the location bar.

If JEP 0.9.5 might be able to get into the final Firefox 1.5 release without
first being in RC1, I'd say that, if there's any substantial doubt about
0.9.5, it should be landed everywhere _except_ RC1.  Otherwise I'd say that
you should go ahead and land it in RC1, too -- with the option to revert back
to 0.9.4+a if 0.9.5 turns out to have regressions that outweigh its fixes.
To summarize the testing that this has had:
1) I have tested it a bit, and found no new problems.
2) smichaud has tested extensively it seems
3) various people, Mark Mentovai, Nate Weaver (wevah), have tested lightly and found no problem.

So, nobody has found any problems, but maybe we haven't tested enough. My gut tells me to land this because smichaud has delivered solidy on every JEP release in the past (iirc), and since Java is in a sorry state on the Mac we could use all the help we can get. However, I am a bit worried about the lack of extensive testing.
approving conditional on further testing today proving that this makes things better and not worse.
Flags: blocking1.8rc1? → blocking1.8rc1+
All right, then ... let me take the risk of shooting myself down :-)

What I'm most worried about is doing a Firefox 1.5 release (not a beta or an
RC) that contains known problems that I've already fixed.

I'm not terribly comfortable, either, putting a new JEP version into the hands
of tens of thousands of users without any more testing than I've been able to
do myself.  Not to say that I lack confidence in my testing -- I'm still
probably finding more bugs than everyone else combined ... and then fixing
them :-)  But I'm just one guy.

A _lot_ rides on whether, if I skip Firefox RC1, I'll still be able to get JEP
0.9.5 (or possibly JEP 0.9.5+a) into the "final" release.

And I've already found a few annoyances (one of them very easily corrected)
that could go into a JEP 0.9.5+a.

Flags: blocking1.8rc1+ → blocking1.8rc1?
Dammit!  This new bugzilla interface has now messed me up at least twice.

I didn't mean to remove the "+" blocking flag :-(

I think its safe to say that due to test coverage we would take 0.9.5 or nothing. Lets get 0.9.5 tested more and then land it if nothing turns up.
So you're telling me that what goes into RC1 is (almost certainly) what will
go into the release version?

Barring something huge, yes.
Landed on MOZILLA_1_8_BRANCH.
Closed: 17 years ago
Resolution: --- → FIXED
keyword pixie dust
Flags: blocking1.8rc1? → blocking1.8rc1+
Keywords: fixed1.8
I am testing the tinderbox build now. The first time I entered about:plugins in the URL bar I crashed, no talkback came up. Second time launched fine. Will see if I can reproduce.
I should add that I was testing using 10.3.9

(In reply to comment #17)
> I am testing the tinderbox build now. The first time I entered about:plugins in
> the URL bar I crashed, no talkback came up. Second time launched fine. Will see
> if I can reproduce.

I've tried about:plugins with JEP 0.9.5 many, many times.  In both Firefox
(my most recently tested nightly was 2005-10-22-11-mozilla1.8) and Camino.
I've never had a problem.

I don't think this crash can have been caused by the JEP.

But it'd be nice to have a crash log (not a Talkback one, but one generated by
Mac OS X, from your ~/Library/Logs/CrashReporter/ directory).

Depends on: 320998
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.