[fpc-pascal] bug while generating androidR25.pas and Androidr25.inc

Mgr. Janusz Chmiel janusz.chmiel at volny.cz
Wed Aug 21 20:14:25 CEST 2019


I know, that this task is heavy and should be only performed by The 
elites among Pascal programmers not by users of this programming 
language. But I Am sure, that if somebody experienced will answer. on my 
question, it would increase The number of volunteers, who would be ready 
to generate newer and newer Android header files, because Android APIS 
versions are newer and newer.

I Am getting The bug related to swing. Here is whole part of window.

C:\pasandr>java -jar javapp.jar -bootclasspath C:\Program Files 
(x86)\Android\android-sdk\platforms\android-25\android.jar  -extdirs . 
-protected -x java.lang.System -x java.lang.Object -x 
java.io.Serializable -x java.io.IOException -x java.io.IIOException -x 
java.lang.Readable -x java.lang.Float -x java.lang.Double -x 
java.lang.Float -x java.lang.Double -x java.lang.Byte -x java.lang.Short 
-x java.lang.Integer -x java.lang.Long -x java.lang.Boolean -x 
java.lang.String -x java.lang.StringBuilder -x java.lang.StringBuffer -x 
java.lang.CharSequence -x java.lang.AbstractStringBuilder -x 
java.lang.Appendable -x java.lang.Number -x 
java.lang.IndexOutOfBoundsException -x java.lang.RuntimeException -x 
java.lang.IllegalArgumentException -x java.lang.IllegalStateException -x 
java.lang.UnsupportedOperationException -x java.lang.Exception -x 
java.lang.Throwable -x java.lang.LinkageError -x java.lang.Error -x 
java.lang.Comparable -x java.lang.Character  -x java.text.Collator -x 
java.lang.Cloneable -x java.lang.Runtime -x java.lang.ThreadLocal -x 
java.math.BigInteger -x java.util.Comparator -x java.lang.reflect.Array 
-x java.lang.Class -x java.lang.reflect.GenericDeclaration -x 
java.lang.reflect.Type -x java.lang.reflect.Method -x 
java.lang.reflect.AccessibleObject -x java.lang.reflect.Member -x 
java.lang.reflect.AnnotatedElement -x java.lang.reflect.Field -x 
java.lang.reflect.InvocationTargetException -x java.util.Arrays -x 
java.util.Map -x java.util.HashMap -x java.util.Set -x 
java.util.Collection -x java.util.AbstractMap -x java.util.Calendar -x 
java.lang.Iterable -x java.lang.Enum -x java.lang.Math -x 
java.util.AbstractCollection -x java.util.AbstractSet -x 
java.util.EnumSet -x java.util.BitSet -x java.util.Iterator -x 
java.nio.Buffer -x java.nio.ByteBuffer -x java.nio.CharBuffer -x 
java.nio.charset. -a sun. -a com.sun. -a apple. -a java.awt. java. 
javax. org. android. junit. -o androidrNo
default charset: windows-1250
Determining short Pascal class names...
Indexing classes under 
(x86)\Android\android-sdk\platforms\android-25\android/jar...
Indexing classes under Files...
Indexing classes under android/...
Indexing classes under java/...
Indexing classes under javax/...
Indexing classes under junit/...
Indexing classes under org/...
ERROR:Could not find javax/swing/JApplet

C:\pasandr>
I AM running jdk1.7.0_79
And The same version of JRE X86 with Windows 10 Home Edition 64 BIt.
Sure! I know, that even when I generate .pas and .inc files, I will not 
get ready header files. There is plenty of work to make because of 
classes naming.
If somebody will know The answer, it would be really useful.
Thank you very very much.




More information about the fpc-pascal mailing list