You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Iwan Tolboom <ia...@chello.nl> on 2000/02/17 11:19:10 UTC
apache-api/5774: The file JServDefs.java doesn't compile.
>Number: 5774
>Category: apache-api
>Synopsis: The file JServDefs.java doesn't compile.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Feb 17 02:20:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: iacmtolboom@chello.nl
>Release: Apache_JServ_1_0.exe for windows98
>Organization:
apache
>Environment:
Windows 98
>Description:
The file JServDefs.java doesn't compile in this distribution.
The constants PACKAGE, VERSION and TURBO are not defined.
See the following code :
>How-To-Repeat:
<pre>
public interface JServDefs {
/**
* Defines the name of the package.
*/
ApacheJServ
/**
* Defines the current version of the package.
*/
1.0
/**
* Enables or disables TURBO flag. If this flag is turned on,
* the application is compiled for maximum performance.
*/
true
/**
* Enables or disables the PROFILE flag. If this flag is turned
* on, the application is compiled to allow profiling.
*
* The default is false.
*/
public static final boolean PROFILE = false;
}
</pre>
>Fix:
<PRE>
public interface JServDefs {
/**
* Defines the name of the package.
*/
public static final String PACKAGE = "ApacheJServ";
/**
* Defines the current version of the package.
*/
public static final double VERSION = 1.0;
/**
* Enables or disables TURBO flag. If this flag is turned on,
* the application is compiled for maximum performance.
*/
public static final boolean TURBO = true;
/**
* Enables or disables the PROFILE flag. If this flag is turned
* on, the application is compiled to allow profiling.
*
* The default is false.
*/
public static final boolean PROFILE = false;
}
</PRE>
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@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! ]