And in case anyone is under any illusions, Sun's record of fixing bugs (and
not re-breaking them) is poor.
The number #1 voted bug* in their bug database has been unfixed for over 5
YEARS!
-Archie
* http://bugs.sun.com/view_bug.do?bug_id=4670071
--
Archie L. Cobbs
7;ve never tried JBoss. If you want to
try it, use the harmony version because it's more up to date:
https://svn.apache.org/repos/asf/incubator/harmony/enhanced/jchevm
Cheers,
-Archie
______
Archie Cobbs *
course on the Harmony mailing list is lots more info, etc.
Cheers,
-Archie
P.S. This email is purely informational (i.e., don't blame me if you think
Harmony is stupid in the first place).
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
I'm happy to send the code to anybody who wants it. It depends on the
classpath getopt code.
FWIW.. if a pure-C implementation is needed we could adapt the one in JCVM.
Sometimes it's nice to not require a JVM to run javah.
-Archie
_______
ht be
possible that Mark gives you access to the machine so you can set this
up yourself?
That'd be fine with me... just let me know what I need to do.
Thanks,
-Archie
______
Archie Cobbs *CTO, Awarix*
lied patch).
Thanks,
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
rchie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
e
you asked for (e.g., OutOfMemoryError or somesuch)".
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Ian Rogers wrote:
Archie Cobbs wrote:
IMHO using POSIX threads is the only "right" answer for a multi-platform
JVM. You have no other choice except to leave it up to the specific
platform to then implement POSIX threads efficiently.
For example, on Linux where each POSIX thread i
g else.
Good to hear that :-)
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
s a cloned process, it's
Linux's fault (not the JVM's fault) if that doesn't scale well. For example,
other OS's don't have such heavyweight threads. FreeBSD's KSE's are an
example of a better tradeoff using M:N user:kernel threading.
-Archie
_____
My opinion.. use both native and JNI types. The specific siutation
will dictate what to do. Uses casts as required. Etc.
This probably sounds simplistic. Maybe a specific example would make
the issue clearer..
-Archie
__
A
an save me work has my vote :-)
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
[1] http://en.wikipedia.org/wiki/IANAL
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
x27; permission.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
pection via
the Apache SVN server if you want to have a look.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
tch. But before
proceeding, I'd like to ask:
1- is it useful;
It's useful.. but first verify that the tool is javadoc-aware.
E.g., some imports may only be used in javadoc comments (in theory).
-Archie
______
Archi
They believe they can't just use
Classpath for license reasons (this part I don't fully understand).
Re #3 I've not been following it.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
the VM would also have to implement it).
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
JLS is only relevant to compilers, not runtimes.
JVMs follow the JVM specification, which allows native methods
to throw unchekced exceptions.
-Archie
__
Archie Cobbs *CTO, Awarix* http
theory) no need to wait
for it to return in order to do anything.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Enrico Migliore wrote:
I'm using Classpath with Archie Cobbs' JCHEVM virtual machine, and I'm
writing another document that explains how to build JCHEVM on Cygwin.
If you think it might be of interest, I'll post this second document too.
The latter document (building
ot a big deal really, but that's my $0.02 anyway...
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
' religious beliefs. So if the GPL is not otherwise
in the way, I have no problem working with it, etc.
"Can't we all just get along?" :-)
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
er" then you can read the "official"
one in the GPL FAQ...
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
e it, and in any case that seems like an orthogonal issue.
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
n a 32-bit machine and all the object addresses
are less than 0x8000.. won't that give you the same result
as just returning (jint)obj ?
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
s have the same issue (if they want to run
on cygwin). Has anyone already solved this problem?
Enrico: the relevant macro is _JC_LIBRARY_FMT in definitions.h.
Perhaps you can play with some possibilities there.
Thanks,
-Archie
____
or all platforms that need it, now and in the future.
The "layer" idea is too big a level of granularity to be porting at.
We should be porting more like at the function call and macro level.
-Archie
______
Ar
VM startup issues :-)
You're right that ClassNotFoundException would be more appropriate
still than Exception. Then the code is clearest about what exactly
is intended.
-Archie
______
Archie Cobbs *CTO, Awarix
e appropriate to only catch Exception, not Throwable.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu
uld use it.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
tually witnessed
the problem so can't really say for sure without additional info.
It would be nice however to get to the bottom of it before 0.20...
-Archie
______
Archie Cobbs *CTO, Awarix*
t .. because it's C they're implicit :-)
The right thing will happen.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpat
oes NOT in kaffe, otherwise the above
example couldn't happen.
Hmm, maybe System.setSecurityManager() can do a "phony" invocation of
s.checkPermission() to ensure that it's resolved...
-Archie
______
Archie Co
Archie Cobbs wrote:
Mark Wielaard wrote:
BTW, does anybody know why we are not using the system strtod() when
available? That seems the way to the quickest solution on most
platforms. It seems to work with some simple tests for me. But I notice
that there is no strtod_r(), just strtod(). But I
'm not familiar enough with the code to understand whether
using the system strtod(3) would avoid this assertion failure, which
appears to come from "Balloc" in mprec.c.
-Archie
______
Archie Cobbs *
ude D810).
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
n do with SVN, plus
a lot more.
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
this new infrastructure include possible a switchover from
CVS to Subversion? (I'm so used to SVN now that CVS is gotten pretty
gross to deal with).
-Archie
__
Archie Cobbs *CTO, Awarix*
Jeff Bailey wrote:
Sorry, I chose my words poorly there. By 'native' I meant "Done in
Java". Is there a better word that means that? =)
"Pure Java"... ?
-Archie
______
Archie C
VMStackWalker.getClassContext().
- Upgrade to Classpath 0.19.
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
in there are too. VMStackWalker can only
be used by classes loaded via the boot loader (see comment
at the top).
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.aw
rchie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Index: VMStackWalker.java
===
RCS file:
/cvsroot/classpath/classpath/vm/reference/gnu/clas
rchie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
Christian Thalinger wrote:
On Thu, Nov 03, 2005 at 08:50:40AM -0600, Archie Cobbs wrote:
$ rpm -qa | grep freetype
freetype-2.1.3-6
freetype-devel-2.1.3-6
$ rpm -ql freetype | grep '\.pc'
$
I'm not educated on the wonders of pkg-config.
Where do I find freetype2.pc and why i
-ql freetype | grep '\.pc'
$
I'm not educated on the wonders of pkg-config.
Where do I find freetype2.pc and why isn't it on this system?
Thanks,
-Archie
__________
Archie Cobbs *CTO, Aw
added it to the wiki. Download instructions, etc. are on the
home page, no need to repeat. You can add more details on the
"obscure error" if you want to.
Thanks,
-Archie
______
Archie Cobbs *C
s the graphics toolkit very heavily.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
trying:
http://pollo.sourceforge.net/
Pollo is a graphical XML editor.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Cl
uld agree to that.
Cheers,
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
.
- Throw IllegalArgumentException instead of IllegalAccessException when
attempting to retrieve an invalid field via reflection.
- Upgrade to Classpath 0.17.
http://jcvm.sourceforge.net/
Cheers,
-Archie
______
Archie Cobbs
I checked in the aforementioned assertion patch.
2005-07-25 Archie Cobbs <[EMAIL PROTECTED]>
* native/jni/classpath/native_state.c: add assertion for object type
-Archie
__
Archie Cobbs *
Thanks,
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Index: native/jni/classpath/native_state.c
===
RCS file: /cvsroot/clas
Archie Cobbs wrote:
With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
I get a JNI assertion failure in a call to GetIntField(), because the
object
type and the fieldID are not compatible:
gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of
gnu/java/awt/peer/gtk
small) loss of efficiency.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
shed some light?
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
initialization
ahead of time:
Class.forName(cl.getName(), true, cl.getClassLoader());
Then we'll know that any exception thrown in the JNI code is
not an initializer exception.
-Archie
__
Archie Cobbs *CTO, A
not necessary.
With array clone(), also typically a native method, none of that
checking is ever needed.
This is a good example of the advandages of a JVM written in Java
(a coincidence? :-) There is no "optimization barrier" into "native"
code like System.arraycopy().
-
f memory" with "waste of memory" :-)
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
rchie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
l" answer lies in empirical testing (something
I can't claim to have done).
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Cla
n only happen if the VM doesn't return Throwable stack
traces. Is this with 0.16? There were recent changes in the VMThrowable
class (see NEWS) that might need to be followed in Jikes RVM.
-Archie
______
Archie Cobbs *
This patch (checked in) fixes two Mauve tests and removes some
obsolete code.
2005-07-09 Archie Cobbs <[EMAIL PROTECTED]>
* java/net/URLClassLoader.java: disallow directories as resources
-Archie
__
Archie Cobbs wrote:
With Classpath 0.16, trying to run a very simple Swing demo under JCVM,
I get a JNI assertion failure in a call to GetIntField(), because the
object
type and the fieldID are not compatible:
gnu/java/awt/peer/gtk/[EMAIL PROTECTED] not instance of
gnu/java/awt/peer/gtk
ook at the above trace and error?
Thanks,
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lis
2005-07-03 Archie Cobbs <[EMAIL PROTECTED]>
* m4/acinclude.m4: fix broken expr(1) syntax
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
Index: m4/acincl
27;ll also need a header file.
I don't have time to do this right now (I'm slow when it comes to
automake, etc.) but can help get the source files ready for import, etc.
-Archie
______
Archie Cobbs *CTO, Awa
tructures.h
-Archie
__________
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
s supposed to be?
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
e more familiar with this class care to comment?
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://l
exception 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
____
fs
to be as small as possible.
To achieve this, I'm willing to adapt to the VM interface as Classpath
defines it, to the extent I can. But when that interface is inherently
broken, there's no way to do that.
-Archie
_______
7;s do similar things.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
MThrowable.getStackTrace() will
be native?
I'm 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
_________
nt.
However, it would be fine by me if someone wanted to move the native
methods into VMFoo classes.
Thanks,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
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
.sourceforge.net/
Cheers,
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
- Removed deprecated methods from VMClassLoader
Let me know what you think.
Yes 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
___
net/
Cheers,
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
s 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* h
ealized then I guess I'm 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
whereas you are
looking at it as the latter type of thing. As Classpath exists right now
it seems a lot more like the former. Instead of trying to morph it into
a JDK/JRE replacement, let's create a separate project to do that.
I'm curious what other Classpa
should (IMHO) simply be an implementation of the core Java
classes, nothing more. If you want the full monty, it's easy to put
that together, but don't force it on every one.
Cheers,
-Archie
____
from the usefulness of using speed as a generic criterion.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gn
stration :-)
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
Andy Walter wrote:
On Saturday 19 March 2005 00:32, Archie Cobbs wrote:
Who do I ask about building a Debian package for JC?
Are you sure you want to manually create rpm and deb packages?
Thanks for the link... looks interesting.
Preferably someone *else* would build the packages :-) This is how
m, but I don't know how that worked out.
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:
des a bytecode interpreter,
and supports execution in either or mixed modes.
http://jcvm.sourceforge.net/
Cheers,
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awari
URL: http://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
of packages that can then depend directly on a classpath package.
(Sorry if this is straying off-topic...)
Who do I ask about building a Debian package for JC?
Thanks,
-Archie
______
Archie Co
rchie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
b",
"classpath-mail", etc. RPMs.. but none for Classpath.
-Archie
__________
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing lis
h the world a natural consequence of good software conduct? :-) :-)
-AC
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gn
ck up on the web.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
e and then do it, keep them updated, etc. This can
perhaps be automated, etc.
-Archie
__
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath
upposed to represent what "run anywhere" actually looks like.
-Archie
______
Archie Cobbs *CTO, Awarix* http://www.awarix.com
___
Classpath maili
all.
Thanks,
-Archie
__________
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
1 - 100 of 266 matches
Mail list logo