omni.ja - Just Curious
- L.A.R. Grizzly
- Posts: 5396
- Joined: March 15th, 2005, 5:32 pm
- Location: Upstate Ohio, USA
- Contact:
omni.ja - Just Curious
I've noticed that omni.jar is now omni.ja. I'm just curious as to the purpose of the extension change. Thanks.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
- Tony-E
- Posts: 8778
- Joined: November 5th, 2004, 11:28 am
Re: omni.ja - Just Curious
I believe it is due to the Windows system restore feature.
Previously if Windows system restore was used it could result in a messing up the Firefox installation folder, leaving files from 2 different versions of Firefox which usually caused Firefox to stop working. Changing the name to omni.ja should help prevent this from happening.
Previously if Windows system restore was used it could result in a messing up the Firefox installation folder, leaving files from 2 different versions of Firefox which usually caused Firefox to stop working. Changing the name to omni.ja should help prevent this from happening.
- L.A.R. Grizzly
- Posts: 5396
- Joined: March 15th, 2005, 5:32 pm
- Location: Upstate Ohio, USA
- Contact:
Re: omni.ja - Just Curious
Tony-E wrote:I believe it is due to the Windows system restore feature.
Previously if Windows system restore was used it could result in a messing up the Firefox installation folder, leaving files from 2 different versions of Firefox which usually caused Firefox to stop working. Changing the name to omni.ja should help prevent this from happening.
Thanks Tony-E. My mind can rest now (what's left of it).
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
-
- Posts: 302
- Joined: October 2nd, 2010, 8:56 am
-
- Posts: 8829
- Joined: May 7th, 2006, 10:29 pm
- Location: California
Re: omni.ja - Just Curious
Yeah, apparently .jar files don't get included in the System Restore points, but other parts of Firefox are. So if you do a system restore to a point where the restore point is restoring a previous version of Firefox, you'll get a mismatched bunch of Firefox files when you're done.
But .ja files do get included in the restore points, so doing a system restore should now get Firefox's important files all restored together making Firefox actually work when you try to run it.
But .ja files do get included in the restore points, so doing a system restore should now get Firefox's important files all restored together making Firefox actually work when you try to run it.
- L.A.R. Grizzly
- Posts: 5396
- Joined: March 15th, 2005, 5:32 pm
- Location: Upstate Ohio, USA
- Contact:
Re: omni.ja - Just Curious
KWierso wrote:Yeah, apparently .jar files don't get included in the System Restore points, but other parts of Firefox are. So if you do a system restore to a point where the restore point is restoring a previous version of Firefox, you'll get a mismatched bunch of Firefox files when you're done.
But .ja files do get included in the restore points, so doing a system restore should now get Firefox's important files all restored together making Firefox actually work when you try to run it.
Makes sense. I've had Windows since Win95 and have never had to use System Restore (I guess I'm the lucky one), but it's nice to know it's there just in case it's needed.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
-
- Posts: 1264
- Joined: June 16th, 2004, 6:00 am
- Location: Exton, PA
Re: omni.ja - Just Curious
Yeah, they got bit because a new release coincided with Microsoft's Patch Tuesday, and surprise, a lot of people found themselves having to roll back to prior restore points. Mozilla saw a huge surge in crashes from it. They've taken some steps to improve the situation for a mismatched omnijar in the future, but the renaming at least makes that likelihood of occurring more remote.
- L.A.R. Grizzly
- Posts: 5396
- Joined: March 15th, 2005, 5:32 pm
- Location: Upstate Ohio, USA
- Contact:
Re: omni.ja - Just Curious
RyanVM wrote:Yeah, they got bit because a new release coincided with Microsoft's Patch Tuesday, and surprise, a lot of people found themselves having to roll back to prior restore points.
It figures.
Win7 Pro SP1 64 Bit
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
Comodo Internet Security
Pale Moon 33.0.2, Epyrus Mail 2.1.2, Firefox 115.9.1esr, Thunderbird 115.9.0, and SeaMonkey 2.53.18.2
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: omni.ja - Just Curious
Is the omni.ja archive in Firefox 10 and 11 still optimized? If not, why not?
I don't get an error when I list files (with Info-ZIP UnZip) like in older versions.
I don't get an error when I list files (with Info-ZIP UnZip) like in older versions.
Code: Select all
unzip.exe -l omni.ja | find "browser.xul"
- patrickjdempsey
- Posts: 23686
- Joined: October 23rd, 2008, 11:43 am
- Location: Asheville NC
- Contact:
Re: omni.ja - Just Curious
It's possible that changing the extension is enough for it to not cause the error?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
-
- Posts: 1264
- Joined: June 16th, 2004, 6:00 am
- Location: Exton, PA
Re: omni.ja - Just Curious
There was a bug filed about the rename breaking the optimization process, but a cursory check isn't finding it offhand. Might have been fixed on mozilla-central (13) already.
-
- Posts: 6432
- Joined: February 3rd, 2009, 6:29 pm
Re: omni.ja - Just Curious
@patrick
Firefox 9.0 omni.jar
Firefox 10.0 omni.ja - same output when omni.ja is renamed to omni.jar
I assume if Info-ZIP UnZip gives no error message, then the file is a regular zip file i.e. not optimized.
@Ryan
I noticed the optimizejars.py script no longer works in Firefox 10 source.
http://mxr.mozilla.org/mozilla-release/ ... izejars.py
Firefox 9.0 omni.jar
Code: Select all
unzip.exe -l omni.jar | find "browser.xul"
warning [omni.jar]: 5454069 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [omni.jar]: reported length of central directory is
-5454069 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1
zipfile?). Compensating...
131034 01/01/10 00:00 chrome/browser/content/browser/browser.xul
3189 01/01/10 00:00 chrome/toolkit/content/global/test-ipcbrowser.xul
Firefox 10.0 omni.ja - same output when omni.ja is renamed to omni.jar
Code: Select all
unzip.exe -l omni.ja | find "browser.xul"
133993 01/29/12 07:36 chrome/browser/content/browser/browser.xul
3189 01/29/12 07:36 chrome/toolkit/content/global/test-ipcbrowser.xul
I assume if Info-ZIP UnZip gives no error message, then the file is a regular zip file i.e. not optimized.
@Ryan
I noticed the optimizejars.py script no longer works in Firefox 10 source.
http://mxr.mozilla.org/mozilla-release/ ... izejars.py
Code: Select all
if not jarfile.endswith(".jar"):
- patrickjdempsey
- Posts: 23686
- Joined: October 23rd, 2008, 11:43 am
- Location: Asheville NC
- Contact:
Re: omni.ja - Just Curious
It's mentioned here:
https://bugzilla.mozilla.org/show_bug.cgi?id=701875#c65
But no follow-up bug appears to have been made.
https://bugzilla.mozilla.org/show_bug.cgi?id=701875#c65
But no follow-up bug appears to have been made.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
-
- Posts: 1264
- Joined: June 16th, 2004, 6:00 am
- Location: Exton, PA
Re: omni.ja - Just Curious
Bug 726656 was filed for the lack of optimization.