ation, etc.
-Archie
_______
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
a framework for
doing something and then provides an implementation that simply
does nothing.
As always, I could be completely misunderstanding things..
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http
.
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
I'm not seeing?
Thanks for taking the time to look at this.
Cheers,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
___
Classpath mailing list
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
this makes sense and is not too simplistic a view to take,
as I'm new to this project. Comments?
Thanks,
-Archie
__
Archie Cobbs * Packet Design * http://www.packetdesign.com
:
http://java.sun.com/j2se/1.4/docs/api/java/lang/reflect/Method.html#equals(java.lang.Object)
Is this a classpath bug?
Thanks,
-Archie
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
--- classpath/classpath-0.05/vm/reference/java/lang/Class.java Sat Oct 26 11:41:59
2002
+++ /home/archie/jc/classpath/java/lang/Class.java Thu Feb 27 17:24:32 2003
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
Archie Cobbs wrote:
The practical upshot of this is that the equals() methods that currently
exist in Classpath for Field and Constructor need to be fixed. But the
fixes could use obj1.getDeclaringClass() == obj2.getDeclaringClass()
as part of the test.
Method also needs to be fixed
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
.
But the exact meaning of clear benefit overall requires discussion,
which is why it seems worthwhile to bring these questions up.
Cheers,
-Archie
__
Archie Cobbs * Precision I/O * http
Hi,
Here's a patch that might help the next VM implementor after me... :-)
Thanks,
-Archie
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
--- /home/archie/classpath/classpath-0.05/vm
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
,
-Archie
__
Archie Cobbs * Precision I/O * http://www.precisionio.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
,
-Archie
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
. 0.08 will out in 3 month.
What about this page? It still says 0.06 is the latest:
http://www.gnu.org/software/classpath/downloads/downloads.html
Thanks,
-Archie
__
Archie Cobbs *Halloo Communications
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
offset;
};
struct _jc_zip {
int fd;
char*path;
int num_entries;
_jc_zip_entry *entries;
};
-Archie
__
Archie Cobbs
it...
Here it is.. have at it :-) You'll need to replace the calls to
_jc_vm_alloc(), _jc_post_exception(), etc.
I'm not a license freak so if LGPL doesn't work for somebody let me know.
Cheers,
-Archie
__
Archie Cobbs
signature, etc.
I think a simple fix would be to try to read the directory
(which you are most likely going to have to do later anyway)
in the constructor(s).
Thanks,
-Archie
__
Archie Cobbs *Halloo Communications
agree that just reading the magic number (first four bytes) would
be plenty sufficient.
Cheers,
-Archie
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
Index: target_generic_file.h
===
RCS file: /cvs-latest/classpath/classpath/native/target
fact.
The patch below (expanded to show context) should fix this particular
bug, but there may very well be other similar bugs elsewhere...
Cheers,
-Archie
__
Archie Cobbs *Halloo Communications* http
Archie Cobbs wrote:
+
+ /* free native reference */
+ (*env-DeleteLocalRef(env, str);
^^
Sorry, lost a ) in there somehow..
-Archie
__
Archie Cobbs *Halloo Communications* http
. But this *is* used
by many programs so ex. Kaffe sets this property.
Seems like this fix (really workaround) should be merged into
Classpath itself too, no?
-Archie
__
Archie Cobbs *Halloo Communications* http
to reduce clutter in the bug db :-)
Thanks,
-Archie
__
Archie Cobbs *Halloo Communications* http://www.halloo.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
been
included. So neither of O_SYNC or O_FSYNC is defined yet, and
the result is the same (O_SYNC is chosen which is incorrect).
Not sure what the right fix is but the patch below does work.
Thanks,
-Archie
__
Archie Cobbs
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
test run handy that
they could email me for comparison?
Thanks!
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL
.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
#Bootstrap%20Process
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman
(), exec(), waitpid(), etc.
and should be as portable as the existing native code. I'd have to
rewrite my JCNI native code in JNI but that would be easy.
Let me know if people are interested.
-Archie
__
Archie Cobbs
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
an IllegalThreadStateException so that's what my code does; see:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html#exitValue()
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
() the thread in waitFor(), plus problem #2 goes away.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL
it into Java?
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
the class using the internal VM mechanism associated
with doing new.
Good point.. that would be a lot simpler.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
then the comment should be removed and this method made native
always?
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing
objective... sounds like an improvement.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
out great and I'm very appreciative of it!!
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
/viewcvs.py/*checkout*/jcvm/jcvm/java/java/lang/Thread.java?rev=1.2
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL
by
definition requires a real monitor, so I side step the redundant monitor
lookup.
Hmm.. sounds like JamVM does the same thing as I described pretty much.
Why then unhappy ? I must be missing something.
-Archie
__
Archie Cobbs
[] avoids this problem.
I remember kaffe had a kaffe.util.Pointer reference type that did this,
and was specially recognized by the GC. Slightly better than Object imho.
-Archie
__
Archie Cobbs *CTO, Awarix
, buf, sizeof(ptr));
continue using the fully restored ptr
I'm not a specophile but I would guess that C does at least guarantee this.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
the build options in the Configuration class?
public class Configuration {
public static final String BUILD_OPTIONS = {
--enable-jni, --enable-load-library, ...
};
...
}
-Archie
__
Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
but does hit GC cycle time severely as every object has
to be check for being in this special RawData class. So for JC byte[]
is best.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
, as they are surely
going to have to do anyway.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
to bother you anymore.
Me too :-)
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
- JC patch as small as possible to ease
future merges.
This was especially fun for 0.07 - 0.08 because somebody rearranged
the order of all the methods in Class.java and Thread.java :-)
-Archie
__
Archie Cobbs *CTO
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
.
- Fixed some erroneous mutex assertions.
- Fixed infinite loop when local native references exceeded.
- Fixed some build problems.
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath
-classpath/2004-03/msg00057.html
No one had any comments, and moreover the patch adds functionality
that is otherwise not implemented.
If there are no objections I'll check it in later today or tomorrow.
Thanks,
-Archie
__
Archie
subtleties of VM design.
E.g., Classpath has implicitly defined this line.. is that the best line?
What line would you draw if you were starting over? (rhetorical questions,
please don't answer on the list :-)
-Archie
__
Archie
with that class as the one to
associate with the native library.
Before I go and implement this, does this sound correct to everyone?
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
_jc_stack_crawl.)
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo
Jeroen Frijters wrote:
Archie Cobbs wrote:
I think we desperately need a VMClassLoader.getCallerClassLoader()
But what the semantics of this method? I.e., define the caller.
For example, would it return the same thing for both of these
call traces?
Foo.method
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
FYI,
Patch below committed.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Index: ChangeLog
===
RCS file: /cvsroot
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
is implemented yet.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman
it simply
The Sun API spec clearly states that Class.getClassLoader() may return
null, and in fact MUST return null for primitive type Class objects.
So why worry about obviously buggy software?
-Archie
__
Archie Cobbs
ClassLoader.getSystemClassLoader().
Are some people using system class loader to refer to the
bootstrap loader.. ? I'd love some clarification on this.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Jeroen Frijters wrote:
Archie Cobbs wrote:
Jeroen Frijters wrote:
The Sun API spec clearly states that Class.getClassLoader() may return
null, and in fact MUST return null for primitive type Class objects.
So why worry about obviously buggy software?
Because most software
is. What's a short program that behaves differently
on two VMs? Etc.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
and load the rest using tftp,
all the code to do that would be in the Java part.
Thanks.. that makes sense.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
://jcvm.sourceforge.net/
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
which shows the failure
message that would have been displayed had the test failed..
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
BeOS and UNIX?
E.g., do you have signals? mmap? use gcc compiler? ELF binaries? Etc.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
people at it as external extension
library.
I agree.. Classpath should avoid trying to duplicate work that
can easily be obtained (freely, of course :-) elsewhere..
-Archie
__
Archie Cobbs *CTO, Awarix
compatibility is best, however repulsive.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
see.. you mean, it's working as designed :-)
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
().getClassLoader() to
check for itself, and refusing to function if not the boot loader?
Then we skip all the security stuff.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
right, nevermind :-)
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman
by the bootstrap loader. Do you have an example source file
that demonstrates this bug?
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at Crash.main(Crash.java:58)
Maybe this has been fixed in 1.4.2?
-Archie
__
Archie Cobbs *CTO, Awarix
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
restrictions, allowing access to
gnu.classpath remotely.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
it difficult in the first place, then no hacks are
required in either Classpath or the VM. Not sure if this is possible
or not though..
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
, yet you are still comparing
it to -1 .. so something seems not quite right.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath
VMClassLoader.getSystemClassLoader() is invoked after System.properties
is created, so System.getProperty() should work when URL uses it.. ?
I haven't actually tried this so I'm likely just missing something.
-Archie
__
Archie
that this glibj.zip has the default Configuration.java and
that is acceptable to the builder, why not provide a way to configure
the build so you can just install glibj.zip as shipped?
Thanks,
-Archie
__
Archie Cobbs *CTO
1 - 100 of 276 matches
Mail list logo