www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomas Hulek <thu...@cz.ibm.com>
Subject mod_jserv/6904: Java compilation with wrong flags
Date Tue, 28 Nov 2000 14:24:42 GMT

>Number:         6904
>Category:       mod_jserv
>Synopsis:       Java compilation with wrong flags
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Nov 28 06:30:03 PST 2000
>Originator:     thulek@cz.ibm.com
>Release:        N/A
AIX adis 2 4 000004003400
In short: when compiled as documented, the Java portion of Jserv is compiled without optimization.

In the Makefiles that are generated using configure the option $(JAVAC_OPT) is used to set
compile flags, however $(JAVACX_OPT) is actually used on the compiler command line.

Therefore, any settings (eg. '-O' or '-g -deprecated') are ignored.
Just compile the standard distribution and watch the flags with which javac is launched.
It is hidden somewhere configure.in or acinclude.m4 (aclocal.m4) - I did not study the configure
mechanism in detail.

(to fix it for me I just hacked configure)
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message