Closed
Bug 104134
Opened 23 years ago
Closed 23 years ago
Packages.packageName.className in javascript causes app crash
Categories
(Core Graveyard :: Java: Live Connect, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 100151
People
(Reporter: blakewilliams1, Assigned: beard)
References
Details
Attachments
(1 file)
363 bytes,
text/html
|
Details |
Using buids from 0.9.4, up through nigthly build 2001101003, using the Packages
statement in a javascript function to load a Java class causes a crash. I've
tried both 1.3.1_01 and 1.4 jre libraries, and either causes a crash. The
classes in java.util.* and java.lang.* work correctly as long as Packages is not
prepended. i.e. var date = new java.util.Date() works, but var date = new
Packages.java.util.Date() causes a crash. Haven't had any success with classes I
have created and compiled either.
Comment 1•23 years ago
|
||
--> Rhino
Assignee: rogerl → nboyd
Component: Javascript Engine → Core
Product: Browser → Rhino
Comment 2•23 years ago
|
||
blakewilliams1@netscape.net: can you attach a reduced HTML testcase
to this bug (via the "Create a new attachment" link above)
That will speed things along considerably - thanks.
I think I've missassigned this to Rhino. Reassigning to LiveConnect -
Assignee: nboyd → rogerl
Component: Core → Live Connect
Product: Rhino → Browser
Comment 3•23 years ago
|
||
Related to bug 100151? "LiveConnect crash on Moz 0.9.4"
Reassigning to Patrick for analysis -
Assignee: rogerl → beard
Reporter | ||
Comment 4•23 years ago
|
||
Comment 5•23 years ago
|
||
One of these two bugs is a duplicate of the other: this bug and bug 100151.
Don't know which way to dupe, because I don't know who is responsible for
defining the Packages object in the browser: the LiveConnect component or OJI?
Packages object always seems to be defined in standalone LiveConnect shell -
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•23 years ago
|
||
My apologies - not all my Mozilla binaries have Java2 installed.
That's why Packages was coming up undefined for me in Mozilla.
When I have the Java2 plug-in installed, my trunk binaries dated
20011016xx on WinNT, Linux crash badly on the testcase above.
I can't even get a stack trace with my debug builds!
On Linux, I even crash when clicking on the "No Packages"
button in the testcase...
Comment 7•23 years ago
|
||
Taking the descision and marking this a dup of bug 100151 since it has target
milestone defined and higher severity.
Btw. this works in 0.9.2!!! so it's kinda regression...
*** This bug has been marked as a duplicate of 100151 ***
Status: NEW → RESOLVED
Closed: 23 years ago
OS: Windows 2000 → All
Resolution: --- → DUPLICATE
Comment 9•23 years ago
|
||
*** Bug 115067 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•