This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gij on windows - problem with Class.forName



Ken Self wrote:
> 
> Running gij against the original jar files; the program terminates at a
> call to Class.forName. 
> I was able to determine this by putting in some traces in the module 
> net.sourceforge.dvb.projectx.xinput.topfield_raw.RawInterface and found it
> was terminating at the statement: Class rawReadClass =
> Class.forName("RawRead");
> 
I was able to work around this problem by replacing Class.forName(RawRead)
with new RawRead(). This in turn lead to a termination at System.loadLibrary
which I understand to be a known issue. Seeing as this particular feature of
the application is irrelevant to me I just commented out the
System.loadLibrary call which would fail anyway. 
I understand that the root of the problem is Windows stacktracing. I am not
at all experienced in such things but am willing to help in anyway possible 
e.g. testing, researching, coding. 
Just need someone to point me in the right direction....

Ken

-- 
View this message in context: http://www.nabble.com/gij-on-windows---problem-with-Class.forName-tf3167825.html#a8796829
Sent from the gcc - java mailing list archive at Nabble.com.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]