On Wed, 15 Feb 2012, Graeme Geldenhuys wrote:

On 15 February 2012 13:27, Sven Barth  wrote:

Here
http://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/jvmbackend/rtl/android/jvm/
files "androidr14.pas" and "androidr14.inc".


Thanks.

Tested here under Lazarus 0.9.30.1 r33214M FPC 2.5.1 x86_64-linux-gtk
2 and it works fine performance wise. But I can say that while I'm in
the *.inc file and I do a "Unit Info -> Go to include directive", it
goes to the wrong line of code in the *.pas file.

Hm. You use a very old lazarus.

Here at work (an older lazarus than at home, 34764) it opens the file without speed problems.

But the codetools don't work. I can't jump to ADSSqliteOpenHelper in the
following code snippet from Sven Barth's Trainlog example (traindata unit)

Type
  TTrainLogHelper = class(ADSSqliteOpenHelper)
  strict private
    function GetNameOfTrainFamily(aID: jlong): String;

So something is still not OK. My .xsession-errors gives:

home/michael/FPC/jvmbackend/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleExcption: ": expected, but 'java.lang' found" at Line=11763 
Col=35 in "/home/michael/FPC/jvmbackend/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: ": expected, but 'java.lang' found" at Line=11763 
Col=35 in "/home/michael/FPC/jvmbackend/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: ": expected, but 'java.lang' found" at Line=11763 
Col=35 in "/home/michael/FPC/jvmbackend/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: ": expected, but 'java.lang' found" at Line=11763 
Col=35 in "/home/michael/FPC/jvmbackend/rtl/android/jvm/androidr14.pas"
### TCodeToolManager.HandleException: ": expected, but 'java.lang' found"

Which means it can't grok things like
  JLStringBuffer = class external 'java.lang' name 'StringBuffer';

Maybe the difference in speed is that the code tools now understand more and
are therefor slower ?

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to