This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

java/3562: Multiple java::lang::Class Definition



>Number:         3562
>Category:       java
>Synopsis:       Multiple java::lang::Class Definition
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 04 10:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     dmorsberger@sensysdl.com
>Release:        GCC 3.0
>Organization:
>Environment:
Tru64 v4.0
>Description:
A multiple definition of java::lang::Class() when linking the java code during a libjava build.
>How-To-Repeat:
Every build attempt
>Fix:
I removed the Class implementation in Class.h and moved the definition to the private section (to make consistent with Class.java)

The following is a diff output:

es40-unix(lang)~ diff Class.h Class.h.orig
147,148d146
<   Class ();
< 
208a207,208
> 
>   Class () {};
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]