Jeroen Frijters wrote:
Thanks. Looks good. The only change I would make is to make vmdata in
ClassLoader package accessible instead of private.
Good point.. I'll make that change.
Thanks,
-Archie
__
Archie Cobbs
into VMFoo classes.
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman
not trying to assume anything. I'm only trying to make it at least
theoretically possible for a VM to use Classpath unmodified and still
function properly.
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
object was dead. I think a
patch for this would not be reasonable, as long as it played well with
other VMs and had a big explanatory comment.
That's a neat idea.. I hadn't thought of that.
-Archie
__
Archie Cobbs *CTO
this changes the API, but IMHO until the major version number of
Classpath is a non-zero number we shouldn't worry about that too much..
better to clean house now while we still can..
Thanks,
-Archie
__
Archie Cobbs
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
for such a compiler? I've only
ever used Sun (or blackdown) JDKs. Will Jikes help?
Just compile with -target 1.4 (or whatever).
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
satisfied.. though I still
think it's a bad idea to have copies of code that originates elsewhere
actually checked in to our repo.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
more. If you want the full monty, it's easy to put
that together, but don't force it on every one.
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
, let's create a separate project to do that.
I'm curious what other Classpath developers think...
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
the usefulness of using speed as a generic criterion.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
these mutable objects though?
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath-patches mailing list
Classpath-patches@gnu.org
http
references are used, the idea sounds OK to me.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath-patches mailing list
Classpath-patches
.
Certainly that can be done, at least for version_num. The release_num
is really up to the packager I suppose.
I've checked it into the scripts/ subdirectory:
2005-03-22 Archie Cobbs [EMAIL PROTECTED]
* configure.ac: Generate scripts/classpath.spec.
* scripts/classpath.spec.in
://www.classpath.org/
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: jikes, zip
Packager: Archie Cobbs [EMAIL PROTECTED]
Source: ftp://ftp.gnu.org/pub/gnu/classpath/classpath-%{version_num}.tar.gz
%description
GNU Classpath, Essential Libraries for Java, is a GNU project to create
free core class
a bytecode interpreter,
and supports execution in either or mixed modes.
http://jcvm.sourceforge.net/
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
.. but none for Classpath.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
if this is straying off-topic...)
Who do I ask about building a Debian package for JC?
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
VMClassLoader.getResource() does not handle ZIP files on the boot loader
class path. The attached patch fixes this.
2005-03-17 Archie Cobbs [EMAIL PROTECTED]
* vm/reference/java/lang/VMClassLoader.java: handle ZIP files
on the boot loader class path in getResources()
I'll
Archie Cobbs wrote:
Another common problem is using too many local native references, e.g.,
when creating and populating an array. You only get 16, and have to use
DeleteLocalRef() to free up the ones you don't need anymore.
Well, soon as I sent that I ran into exactly this problem. Don't have
reference around classRawData.
This fixes the problem for me. I'll commit the attached patch unless
there are issues.
2005-03-15 Archie Cobbs [EMAIL PROTECTED]
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c: use
global native reference to wrap persistent jclass variable.
-Archie
I've checked in the attached patch which fixes a core dump (in the
child process) when a zero length command array is passed.
2005-03-11 Archie Cobbs [EMAIL PROTECTED]
* native/jni/java-lang/java_lang_VMProcess.c: Fix segfault
in the case that a zero length command array is passed
with the world a natural consequence of good software conduct? :-) :-)
-AC
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
what run anywhere actually looks like.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
-foobar
etc.
Otherwise things may get to be too monolithic (i.e., inflexible).
In particular I'm thinking of embedded system applications, which
may only want/need a subset of the whole shebang.
-Archie
__
Archie Cobbs
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any
the CHANGES file for details.
http://jcvm.sourceforge.net/
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use
' Classpath files
in the bootclasspath. By the way, this is what JC does and it
works fine. An added advantage is that you can share a Classpath
installation among more than one free VM.
-Archie
__
Archie Cobbs
With JC:
[EMAIL PROTECTED] level=null
Thanks!
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
import java.util.logging.*;
import java.io.InputStream;
public final class LogInit
{
public
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
import java.util.*;
import java.util.logging.*;
import java.io.*;
public class LogInit
{
public static void main(String[] args) throws Exception
INFO: PASS
With JC:
[EMAIL PROTECTED] level=null
Works with java, null with sablevm.
Thanks!
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
needs additional code to handle classpath attribute(s)
in the manifest.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any
(or whatever) are possible and don't need to worry
about the stack changing out from under them.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
://savannah.gnu.org/bugs/?func=detailitemitem_id=11598
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http
can be called from different Java threads, and
therefore may receive different JNI interface pointers.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
. This would
ensure that the rigth JNIEnv * got used. However, the GTK stuff
would also then have to keep track attaching and detaching threads
to the VM as necessary.
-Archie
__
Archie Cobbs *CTO, Awarix
crossing into/out of native code
to determine which thread it's actually dealing with.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath
into the GTK code, has anyone else seen this?
NOTE: this is with Classpath 0.12, so it might be fixed already
(has anyone fixed a bug like this lately?)
Thanks for any hints about where to look, etc.
-Archie
__
Archie Cobbs
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information
or -1 if java.nio.Buffer.address is NULL.
OK, now I understand. Thanks in advance for providing this patch.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice
.
Yep, that's a good classification. My point is simply that even with these
problems, the tests are still useful, and people want to run them, so we
need some way of handling them.
-Archie
__
Archie Cobbs *CTO
and installs separately from Classpath. There have
also been several other important bug fixes and improvements. See the
CHANGES file for details.
http://jcvm.sourceforge.net/
Cheers,
-Archie
__
Archie Cobbs *CTO
.
!java.lang.ref.WeakReference.weakref
!java.lang.ref.PhantomReference.phantom
Let me know what changes we should make. I'll keep track, and let's
try to come to an agreed-upon master file.
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix
Archie Cobbs wrote:
OK, here's a first stab at a new mauve-classpath. This one is
surely out of date on several counts, but happens to be the one
I've been using for a long time.
The other thing we need to come up with is a Classpath xfails file,
containing those tests Classpath is known to fail
batch_run. What is the advantage of using it?
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use
sits there getting stale.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended
be added to the white list.
Yes, that is the downside :-)
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments
failures.
Matter of taste I guess.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
definitely pass
all these tests.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org
.
Finally, who do we send Mauve patches to?
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential and
privileged information. Any
. a phantom reference is not required.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use
problem e.g. in an application where
you create a thread and then decide to start it later (or not)
based on some last minute information.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
add a comment to the Javadoc for Thread.java
like instances of Thread are not garbage collected until either
they run and terminate or their ThreadGroup and all contained
Threads are no longer referenced.
-Archie
__
Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential
collected.
If it's not just me then I'll file a bug and propose a patch.
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
*
Confidentiality Notice: This e-mail message, including any
Archie Cobbs wrote:
What happens when you run this program:
public class ThreadLeak {
public static void main(String[] args) {
while (true)
new Thread();
}
}
I get an OutOfMemoryError.
Now I realize that Sun's JDK has the same bug:
http
__
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
*
Confidentiality Notice: This e-mail message, including any attachments, is for
the sole use of the intended recipient(s) and may contain confidential
initialization dependencies, because we'd
have to do Properties.load(Class.getResourceAsStream()) early in
the startup process to get these values.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
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
tarball.
Just curious.. why do you say that?
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http
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
, yet you are still comparing
it to -1 .. so something seems not quite right.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
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
().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
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
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
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/classpath
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
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
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
which shows the failure
message that would have been displayed had the test failed..
-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
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
__
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
101 - 200 of 276 matches
Mail list logo