Java Question Log of SLC is showing a error message but still compiling with sucess

Carlos C Neto

New Member
Licensed User
Longtime User
Using the latest version of SLC, togheter with Eclipse, i had a problem with B4A.
This error in B4A apeared :
src\b4a\example\ error: cannot find symbol
public static Bar _manager = null;
symbol: class Bar
location: class main
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error

this is strange, because all other libraries created worked very well. Compiling again others libraries created i found diference in the SLC log

Simple Library Compiler
Starting step: Compiling Java code.
exists: False
exists2: True
Completed successfully.
Starting step: Creating jar file.
Completed successfully.
Starting step: Creating XML file.

If exists = false, we get the error. If exists = True, all works well

I found why. if there is package name in the project works. If there is only the default package, it will not work