savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-help-public] GNU Classpath with hotspot.


From: Richard Gill
Subject: [Savannah-help-public] GNU Classpath with hotspot.
Date: Wed, 26 May 2010 19:27:30 +0100

Hi Guys,

I was wondering if it is possible to bootstrap your Classpath onto hotspot. 

Using something like : java -cp . -Xbootclasspath/p:rvmrt.jar:jksvm.jar  DummyTest
I tried it and I get an error saying ClassLoader.addClass method doesn't exist. 

Basically I'm having quite an in depth problem, and one possible solution is if I can find a way to run your version of System.Out.Println() for example, without any calls to the JDK (in my code) being made on the Hotspot VM. I have tried running my code on Jikes RVM but I am using a java agent and Jikes produces a large VM dump. (I am currently talking to the Jikes guys about how to fix this). 

One idea I had was to import all of GNU Classpath into eclipse and refactor it so the package names have changed so in my code I can call something like : gnuClassPath.System.Out.Println()... and there is no confusion between that and the version in the JDK.

Do you know if this will work? Or is there a better solution I am missing?

Many Thanks,

Richard 

 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]