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

dmorsberger@sensysdl.com dmorsberger@sensysdl.com
Wed Jul 4 10:56:00 GMT 2001


>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:



More information about the Gcc-bugs mailing list