Closed Bug 422287 Opened 18 years ago Closed 18 years ago

Live connect is broken

Categories

(Core Graveyard :: Plug-ins, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 421855

People

(Reporter: mossop, Unassigned)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file testcase
Load the testcase if you have java installed. You should see the current date. On Firefox 2 it works. On Firefox 3 it does not work. Additionally the javascript is failing at the attempt to instantiate java.lang.Date without throwing any message into the error console, just a silent failure.
Flags: blocking1.9?
Works ok on Windows, so looks like a Mac only issue.
Debug log: For application/x-java-vm found plugin MRJPlugin.plugin [loaded plugin /Users/dave/mozilla/build/minefield-debug/plugin/oji/JEP/MRJPlugin.plugin] ### MRJPlugin: getPluginBundle() here. ### ### MRJPlugin: CFBundleGetBundleWithIdentifier() succeeded. ### ### MRJPlugin: CFURLGetFSRef() succeeded. ### WARNING: CreateSecureEnv OK: file /Users/dave/mozilla/source/trunk/mozilla/modules/oji/src/ProxyJNI.cpp, line 1729 MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! initialization error: Can't load class netscape/javascript/JSObject MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! MRJ Plugin JEP: JavaScript-to-Java LiveConnect failed -- no security manager! initialization error: Can't load class java/lang/Object LiveConnect was unable to reflect one or more components of the Java runtime. Go to http://bugzilla.mozilla.org/show_bug.cgi?id=5369 for details.
Simple litmus testcase: Visit the testcase. In a machine with java installed and enabled it should display todays date. In a machine without java or with java disabled or blocklisted it should display nothing, the error console should display an error about java being undefined.
Flags: in-litmus?
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
I created https://litmus.mozilla.org/show_test.cgi?id=5283 in the duped bug to cover this case.
Flags: in-litmus? → in-litmus-
Flags: blocking1.9?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: