[Soot-list] Error named "no visible type named"

Diptikalyan Saha diptikalyan at gmail.com
Tue Aug 12 02:29:24 EDT 2014


Hi,

Is there any workaround for -allow-phantom-refs to work for source code in
case of unresolved external dependencies (other than resolving the
dependencies).

Thanks,
Dipti.







I saw a previous message on this.

*Eric Bodden* bodden at st.informatik.tu-darmstadt.de
<soot-list%40sable.mcgill.ca?Subject=Re:%20%5BSoot-list%5D%20Error%20named%20%22no%20visible%20type%20named%22&In-Reply-To=%3CBANLkTi%3D43X%3DAXy8Bf-aW%2BQwzzgrL0TiATg%40mail.gmail.com%3E>
*Wed Apr 13 03:36:13 EDT 2011*


   - Previous message: [Soot-list] Error named "no visible type named"
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/003656.html>
   - Next message: [Soot-list] [paddle] Configuration question
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/003658.html>
   - *Messages sorted by:* [ date ]
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/date.html#3657>
    [ thread ]
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/thread.html#3657>
    [ subject ]
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/subject.html#3657>
    [ author ]
   <https://mailman.cs.mcgill.ca/pipermail/soot-list/2011-April/author.html#3657>

------------------------------

Hello.

I think -allow-phantom-refs only works reliably when you use bytecode.
For source code, Soot (and any compiler, actually) will need access to
all the classes to resolve the program's abstract syntax tree
completely. The problem is that otherwise the compiler won't be able
to distinguish certain classes from packages etc. because in Java they
share the same syntax.

Eric

On 13 April 2011 04:44, zhang <6211026 at 163.com
<http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list>> wrote:
>* Hi,
*>* I get an error when I'm using Soot with Ant 1.6. Here are some
detail messages :
*>* Soot started on Wed Apr 13 10:19:21 CST 2011
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:58,8:
*>*  Semantic Error: no visible type named com.ibm.ivj.util.base.Project
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:59,8:
*>*  Semantic Error: no visible type named com.ibm.ivj.util.base.ToolData
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:88,13:
*>*  Semantic Error: no visible type named Project
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:91,17:
*>*  Semantic Error: no visible type named ToolData
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:141,13:
*>*  Semantic Error: no visible type named ToolData
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:141:
*>*  Semantic Error: can not instantiate Unknown no matching
constructor found in Unknown
*>* G:\Slice\program\apache-ant-1.6.0\apache-ant-1.6.0\src\main\org\apache\tools\ant\taskdefs\optional\ide\VAJAntTool.java:141,31:
*>*  Semantic Error: no visible type named ToolData
*>>* Do I have to find the class named "com.ibm.ivj.util.base.Project"
and added it to Soot's classpath. Because I am not care for what does
the package do, I think the "-allow-phantom-refs" option can do
something for this situation. However it does not work. Is there a way
to make Soot work with it?
*>* Thank you.
*>>* zhang
*>* _______________________________________________*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140812/4d44f396/attachment.html 


More information about the Soot-list mailing list