JDK-4784110 : jre1.4.1 browser plugin must be compiled with gcc v3.xx
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.0,1.4.1
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2002-11-25
  • Updated: 2003-01-15
  • Resolved: 2003-01-15
Related Reports
Duplicate :  
Description

Name: gm110360			Date: 11/25/2002


FULL PRODUCT VERSION :
Versions: 1.4 and above

FULL OPERATING SYSTEM VERSION : all new linux distribution
based on gcc v3.xx (Mandrake 9, Suse 8.1 etc.)


A DESCRIPTION OF THE PROBLEM :
as told on:
http://plugindoc.mozdev.org/linux.html#Java

Java support will not work if Mozilla is compiled with gcc
3.x (Bug 116444 - JRE issue, not a Mozilla issue). No
solution until Sun release a build of JRE compiled with gcc3
(1.4.2?). Possible workaround is to use a Mozilla build
compiled with gcc 2.95, such as the ones available from
mozilla.org, although this may break dependencies on newer
Linux distributions compiled with gcc 3.2 (SuSE 8.1,
Mandrake 9.0 and others).

Please update! You are losing a LOT of new users!

REGRESSION.  Last worked in version 1.3.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
see:
http://bugzilla.mozilla.org/show_bug.cgi?id=116444

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER WORKAROUND :
build a JRE compiled with gcc v3.xx
(Review ID: 167278) 
======================================================================

Comments
EVALUATION 1) At this time Mozilla is not a supported platform for the Plugin 2) At this time the versions of Mozilla that come from mozilla.org are built with a gcc2.X compiler and they (although not supported) work fine with the plugin. Any plugin built with 3.X would be incompatable with these. As such it is not appropriate to change the compliler version of the plugin, at this time. However, I will leave this RFE open so that it can be committed to an appropriate build when the time is right. ###@###.### 2002-12-10 The real problem is our Unix plugin is written in C++ and gcc 3.2 changes the v-table and name mangling of the C++ object. So in order to resolve this, the Unix plugin should be written using pure C code and that requires the interface to be C style too. RFE 4518207: Platform Independent Java Embedding API for Mozilla browser will consider this as a requirement. ###@###.### 2003-01-15
15-01-2003