Re: A query on the classloader architecture

2004-07-09 Thread 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

Re: A query on the classloader architecture

2004-07-09 Thread Archie Cobbs
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

Re: A query on the classloader architecture

2004-07-09 Thread Archie Cobbs
is. What's a short program that behaves differently on two VMs? Etc. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing

Re: Patch: FYI: More efficient ResourceBundle calls

2004-06-16 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

Class.forName() patch committed

2004-06-08 Thread Archie Cobbs
FYI, Patch below committed. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com Index: ChangeLog === RCS file: /cvsroot

Re: RFC: Require VM to provide JNI 1.2 support?

2004-06-06 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

Re: Loading native libraries

2004-06-04 Thread Archie Cobbs
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

Loading native libraries

2004-06-03 Thread Archie Cobbs
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

Re: Loading native libraries

2004-06-03 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

Re: Loading native libraries

2004-06-03 Thread Archie Cobbs
_jc_stack_crawl.) -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo

Re: VMFile confusion

2004-04-25 Thread Archie Cobbs
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

Re: 0.09 release target date is next Friday April 30

2004-04-22 Thread Archie Cobbs
-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

Re: Patch: java.awt.image.DataBuffer[Short|Float|Double]

2004-04-14 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: JamVM 1.1.3 released

2004-04-13 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: The Mauve unicode testcase and VM performance

2004-04-12 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

JC release 1.1

2004-04-12 Thread Archie Cobbs
. - 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

Re: Mauve patches.

2004-04-11 Thread Archie Cobbs
to bother you anymore. Me too :-) -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http

Re: Q: How do you keep your sources in synch?

2004-04-11 Thread Archie Cobbs
- 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

Re: Classpath build process and VM-specific issues

2004-04-08 Thread Archie Cobbs
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

Re: Classpath build process and VM-specific issues

2004-04-08 Thread Archie Cobbs
, 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

Re: Configuration class and --enable-native-sync

2004-04-06 Thread Archie Cobbs
the build options in the Configuration class? public class Configuration { public static final String BUILD_OPTIONS = { --enable-jni, --enable-load-library, ... }; ... } -Archie __ Archie

Re: Configuration class and --enable-native-sync

2004-04-06 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Configuration class and --enable-native-sync

2004-04-06 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath build process and VM-specific issues

2004-04-05 Thread Archie Cobbs
, 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

Re: Classpath build process and VM-specific issues

2004-03-29 Thread Archie Cobbs
/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

Re: Classpath build process and VM-specific issues

2004-03-29 Thread Archie Cobbs
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

Re: Classpath build process and VM-specific issues

2004-03-29 Thread 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

Re: Classpath build process and VM-specific issues

2004-03-28 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath build process and VM-specific issues

2004-03-28 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath build process and VM-specific issues

2004-03-28 Thread Archie Cobbs
out great and I'm very appreciative of it!! Cheers, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED

Re: Classpath build process and VM-specific issues

2004-03-28 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath build process and VM-specific issues

2004-03-25 Thread Archie Cobbs
objective... sounds like an improvement. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http

Re: ClassLoader.findLoadedClass (was: ServiceFactory)

2004-03-23 Thread Archie Cobbs
then the comment should be removed and this method made native always? Thanks, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing

Re: currentClassLoader problem

2004-03-18 Thread Archie Cobbs
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

Re: currentClassLoader problem

2004-03-17 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: More ClassLoader problems

2004-03-16 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Runtime.exec() implementation

2004-03-13 Thread Archie Cobbs
() the thread in waitFor(), plus problem #2 goes away. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL

Re: Runtime.exec() implementation

2004-03-13 Thread Archie Cobbs
it into Java? Thanks, -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo

Re: Runtime.exec() implementation

2004-03-11 Thread Archie Cobbs
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

Runtime.exec() implementation

2004-03-07 Thread Archie Cobbs
(), 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

Re: 0.08 NEWS

2004-03-07 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Query on stacktrace management logic

2004-03-04 Thread Archie Cobbs
#Bootstrap%20Process -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman

Re: Query on stacktrace management logic

2004-03-02 Thread Archie Cobbs
. -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Current Mauve status

2004-02-25 Thread Archie Cobbs
test run handy that they could email me for comparison? Thanks! -Archie __ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL

Web site still locked down?

2004-02-22 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

JC 1.0.0 release

2004-02-19 Thread Archie Cobbs
__ Archie Cobbs *CTO, Awarix* http://www.awarix.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

O_SYNC/O_FSYNC fix

2004-01-27 Thread Archie Cobbs
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

Re: FYI: Patch: file stuff

2004-01-11 Thread Archie Cobbs
to reduce clutter in the bug db :-) Thanks, -Archie __ Archie Cobbs *Halloo Communications* http://www.halloo.com ___ Classpath mailing list [EMAIL PROTECTED] http

Re: [Sablevm-developer] Re: [Sablevm-developer] Java_java_lang_Runtime_getBootstrapClassPath unused?

2003-12-12 Thread Archie Cobbs
. 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

Re: FreeBSD build failure

2003-12-11 Thread Archie Cobbs
__ Archie Cobbs *Halloo Communications* http://www.halloo.com Index: target_generic_file.h === RCS file: /cvs-latest/classpath/classpath/native/target

Bug in java.io.File.listInternal()

2003-12-11 Thread Archie Cobbs
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

Re: Bug in java.io.File.listInternal()

2003-12-11 Thread Archie Cobbs
Archie Cobbs wrote: + + /* free native reference */ + (*env-DeleteLocalRef(env, str); ^^ Sorry, lost a ) in there somehow.. -Archie __ Archie Cobbs *Halloo Communications* http

ZipFile bug

2003-12-09 Thread 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

Re: ZipFile bug

2003-12-09 Thread Archie Cobbs
agree that just reading the magic number (first four bytes) would be plenty sufficient. Cheers, -Archie __ Archie Cobbs *Halloo Communications* http://www.halloo.com

Re: SystemClassLoader

2003-12-08 Thread Archie Cobbs
__ Archie Cobbs *Halloo Communications* http://www.halloo.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: SystemClassLoader

2003-12-08 Thread Archie Cobbs
offset; }; struct _jc_zip { int fd; char*path; int num_entries; _jc_zip_entry *entries; }; -Archie __ Archie Cobbs

Re: SystemClassLoader

2003-12-08 Thread 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

Re: FreeBSD build failure

2003-12-05 Thread Archie Cobbs
. 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

Re: FreeBSD build failure

2003-12-03 Thread Archie Cobbs
__ Archie Cobbs *Halloo Communications* http://www.halloo.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

FreeBSD build failure

2003-12-02 Thread Archie Cobbs
, -Archie __ Archie Cobbs *Halloo Communications* http://www.halloo.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: java.lang.Class patches

2003-04-03 Thread Archie Cobbs
, -Archie __ Archie Cobbs * Precision I/O * http://www.precisionio.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: java.lang.Class patches

2003-04-02 Thread Archie Cobbs
__ Archie Cobbs * Precision I/O * http://www.precisionio.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Small patch for Thread.java

2003-03-06 Thread Archie Cobbs
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

Re: Method.equals() question

2003-03-03 Thread Archie Cobbs
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

Re: Class loader optimization patch

2003-03-03 Thread Archie Cobbs
__ Archie Cobbs * Precision I/O * http://www.precisionio.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Thoughts on 'reference classes'

2003-03-03 Thread Archie Cobbs
. 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

Method.equals() question

2003-02-27 Thread Archie Cobbs
: 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

java.lang.Class patches

2003-02-27 Thread Archie Cobbs
__ 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

Re: Thoughts on 'reference classes'

2003-02-27 Thread Archie Cobbs
__ Archie Cobbs * Precision I/O * http://www.precisionio.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Thoughts on 'reference classes'

2003-02-25 Thread Archie Cobbs
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

Re: Class methods

2003-02-21 Thread Archie Cobbs
__ Archie Cobbs * Packet Design * http://www.packetdesign.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

VMThrowable.java

2003-02-20 Thread Archie Cobbs
, -Archie __ Archie Cobbs * Packet Design * http://www.packetdesign.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: VMThrowable.java

2003-02-20 Thread Archie Cobbs
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

Class methods

2003-02-20 Thread Archie Cobbs
. Thanks, -Archie __ Archie Cobbs * Packet Design * http://www.packetdesign.com ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Class methods

2003-02-20 Thread Archie Cobbs
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

Re: Free Java @ JavaOne 1999

1998-10-22 Thread Archie Cobbs
ation, etc. -Archie _______ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com

<    1   2   3