The default answer to this question is:
These modules are required in project.xml:
java.io.Filedirectly? Answer: Yes. It uses java.io.File 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. Question (resources-preferences): Does your module uses preferences via Preferences API? Does your module use NbPreferences or or regular JDK Preferences ? Does it read, write or both ? Does it share preferences with other modules ? If so, then why ? WARNING: Question with id="resources-preferences" has not been answered!
org.openide.util.Lookupor any similar technology to find any components to communicate with? Which ones? Answer:
System.getProperty) property? On a similar note, is there something interesting that you pass to
java.util.logging.Logger? Or do you observe what others log? 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. 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? How the project behaves with respect to threading? 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 April 26 2021. | Copyright © 2017-2021 Apache Software Foundation. All Rights Reserved.