Re: Invalid static member of inner class

2002-02-22 Thread John Wilson
- Original Message - From: "Daniel Rall" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 8:48 PM Subject: Re: Invalid static member of inner class > I'm fairly certain that jikes just turns that into a constant. It's > odd that javac does not -- I wonder if

Re: Invalid static member of inner class

2002-02-22 Thread Rick Johnston
You'd probably have to look at the JVM spec. I'd say the question would be whether any instantiation of an array can be done at compile-time, or is it always a run-time. If only at run-time (which my experimentation shows is what javac seems to believe), then it wouldn't conform to the JLS and

Re: Invalid static member of inner class

2002-02-22 Thread Daniel Rall
I'm fairly certain that jikes just turns that into a constant. It's odd that javac does not -- I wonder if there is a way to convince it that it should be constant? "EXT-Raiteri, Ashley L" <[EMAIL PROTECTED]> writes: > Good call! > Oneo of our guys here caught this as well, and I was wondering

Re: cvs commit: xml-rpc/src/java/org/apache/xmlrpcXmlRpcServer.java

2002-02-22 Thread Jon Scott Stevens
on 2/22/02 8:08 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Moved EMPTY_BYTE_ARRAY back to where Jon had put it in the first > place. Yup. That is why I had put it there. -jon

RE: Invalid static member of inner class

2002-02-22 Thread EXT-Raiteri, Ashley L
Good call! Oneo of our guys here caught this as well, and I was wondering if anyone else would come up with it... ashley raiteri -Original Message- From: Rick Johnston [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 7:49 AM To: [EMAIL PROTECTED] Subject: Invalid static member o

Re: Invalid static member of inner class

2002-02-22 Thread Daniel Rall
"Rick Johnston" <[EMAIL PROTECTED]> writes: > In compiling the latest version of XmlRpcServer.java with javac (1.3.1), I > got a compiler error because of the static member 'EMPTY_BYTE_ARRAY' in the > inner 'Worker' class. Section 8.1.2 of the Java Language Spec 2nd ed. does > specifically state

cvs commit: xml-rpc/src/java/org/apache/xmlrpc XmlRpcServer.java

2002-02-22 Thread dlr
dlr 02/02/22 08:08:42 Modified:src/java/org/apache/xmlrpc XmlRpcServer.java Log: Moved EMPTY_BYTE_ARRAY back to where Jon had put it in the first place. Rick Johnston <[EMAIL PROTECTED]> indicates that javac (perhaps incorrectly) does not allow it, and provides some informa

Invalid static member of inner class

2002-02-22 Thread Rick Johnston
In compiling the latest version of XmlRpcServer.java with javac (1.3.1), I got a compiler error because of the static member 'EMPTY_BYTE_ARRAY' in the inner 'Worker' class. Section 8.1.2 of the Java Language Spec 2nd ed. does specifically state that "Inner classes may not declare static members,

cvs commit: xml-rpc README.txt

2002-02-22 Thread jvanzyl
jvanzyl 02/02/22 05:36:15 Modified:.README.txt Log: - applying patch submitted by Martin Skopp <[EMAIL PROTECTED]> that clarifies the building procedure and that Ant is required. Revision ChangesPath 1.4 +9 -1 xml-rpc/README.txt Index: README.