- 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
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
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
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
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
"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
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
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,
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.