|
|
Default answer to this question is:
These modules are required in project.xml file:
java.io.File
directly?
Answer:
Yes. It uses java.io.File for representing working directory of the external
process. It also uses it for representing items on classpath (NbClassPath).
Question (resources-layer):
Does your module provide own layer? Does it create any files or
folders in it? What it is trying to communicate by that and with which
components?
Answer:
Yes. It provides its own layer. It creates menu items, services, templates
and window system components.
Question (resources-read):
Does your module read any resources from layers? For what purpose?
Answer:
No answer
Question (resources-mask):
Does your module mask/hide/override any resources provided by other modules in
their layers?
Answer:
No.
org.openide.util.Lookup
or any similar technology to find any components to communicate with? Which ones?
Answer:
System.getProperty
) property?
Answer:
Following is the list of properties used by the Execution module
Env-foo
java.home
jdk.home
java.class.path
sun.boot.class.path
java.ext.dirs
line.separator
Question (exec-component):
Is execution of your code influenced by any (string) property
of any of your components?
Answer:
File attributes accessible via calls to
org.openide.filesystems.FileObject.getAttribute(name)
org.openide.filesystems.FileObject.setAttribute(name, value)
They can also be stored in the module layer. Please see filesystems
for more information about this.
NetBeansAttrExecutor
NetBeansAttrArguments
readOnlyAttrs
Question (exec-ant-tasks):
Do you define or register any ant tasks that other can use?
WARNING: Question with id="exec-ant-tasks" has not been answered!
Question (exec-classloader):
Does your code create its own class loader(s)?
Answer:
Yes --- this module creates its own class loader. NbClassLoader is in the
public API and it is a class loader which is capable of loading classes
from the Repository (a user defined dynamic class path).
Question (exec-reflection):
Does your code use Java Reflection to execute other code?
Answer:
Hack to close windows belonging to a thread group uses method
javax.swing.SwingUtilities.getSharedOwnerFrame.
The field
java.security.AccessControlContext.context is accessed due
to some JDK 1.2.1 hack in org.netbeans.core.execution.AccController.
When you want to execute some object it is first compiled. And the
method for compilation is called via reflection:
org.openide.actions.AbstractCompileAction.compileDataObjects is called
from org.openide.actions.ExecuteAction.
When you want to execute a class it main method is called via reflection
(in org.openide.execution.ThreadExecutor).
Question (exec-privateaccess):
Are you aware of any other parts of the system calling some of
your methods by reflection?
Answer:
No.
Question (exec-process):
Do you execute an external process from your module? How do you ensure
that the result is the same on different platforms? Do you parse output?
Do you depend on result code?
WARNING: Question with id="exec-process" has not been answered!
Question (exec-introspection):
Does your module use any kind of runtime type information (instanceof
,
work with java.lang.Class
, etc.)?
WARNING: Question with id="exec-introspection" has not been answered!
Question (exec-threading):
What threading models, if any, does your module adhere to?
WARNING: Question with id="exec-threading" has not been answered!
Question (security-policy):
Does your functionality require modifications to the standard policy file?
WARNING: Question with id="security-policy" has not been answered!
Question (security-grant):
Does your code grant additional rights to some other code?
WARNING: Question with id="security-grant" has not been answered!java.awt.datatransfer.Transferable
?
Answer:
None.
Built on May 3 2007. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.