{@inheritDoc} not working for Java Classes
Hello,
i am using {@inheritDoc} for inherting super class's JavaDoc for a perticular function..
It is working, if super class is my own class. i am able to see all JavaDoc in child class.
But when i use {@inheritDoc} for extending JavaDoc of java class it is not working.
i.e. if i am writing {@inheritDoc} in public void actionPerformed(ActionEvent e) method..
It wont show any javadoc..
How to add it? Do i need to give source of java classes too???
And if it is Yes, then where to specifiy. and where to find source of Java classes, do they come with JDK? or NetBeans?? (If yes then where it is in JDK or Netbeans???)
Thanks,
Nachiket.
Yes, you need to have the Java source, with the -sourcepath option, as described here:
Inheriting Comments from J2SE - Your code can also automatically inherit comments from interfaces and classes in the J2SE. You can do this by unzipping the src.zip file that ships with the SDK (it does not contain all source files, however), and add its path to -sourcepath. When javadoc runs on your code, it will load the doc comments from those source files as needed. For example, if a class in your code implements java.lang.Comparable, the compareTo(Object) method you implement will inherit the doc comment from java.lang.Comparable.
http://java.sun.com/j2se/javadoc/faq/#incrementalbuild
If you want the full Java source get it from here:
http://www.sun.com/software/communitysource/j2se/java2/index.xml
http://java.sun.com/j2se/javadoc/faq/#sourcecode
-Doug
Similar Messages
-
Sql_trace does not work for Java app using Oracle JDBC thin driver
Hi,
I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
Thanks in advance!Hi,
I'm using Oracle 8.1.7. I enabled sql trace at instance level by setting sql_trace and timed_statistics to true in init.ora. I restarted the db instance. I wrote a stand-alone java application which used Oracle JDBC thin driver(classes12.zip) to make a connection to my db instance, do some select statements, and close the connection. There were no trace files generated in the folder specified by udump_dest variable. However, if I used sqlplus or dba studio, I saw trace files generated. Has anyone got Oracle sql trace work for JDBC calls from java apps.
Thanks in advance! -
Zoom (setViewPosition) not working for java 1.4.2
I created a JScollPane with a RenderableDisplay.
I programmed a zoom function by adding a mouse
listener to the RenderableDisplay. Right click..
zoom in..left click..zoom out.
All works fine with java 1.3.X. Nothing happens
with java 1.4.X. I traced the problem to the setViewPosition method of the JViewport class.
I unzipped the source and found the following
differences in the setViewPosition routines..
Java 1.3.04
//Force a repaint of the whole component
//on the next call to paint
repaintAll = windowBlitPaint(g);
Java 1.4.X
//Repaint the complete component if the blit
//succeeded and needsRepaintAfterBlit returns true
repaintAll = (WindowBlitPaint(g) && needsRepaintAfterBlit())
I unjared dt.jar and went to change the 1.4 source
to match the 1.3.04 code. I recompiled and rejared and
placed the new dt.jar in lib and made sure my CLASSPATH
pointed there. When I went to recompile my source code
that referenced the setViewPosition method I got:
/JAVA/j2sdk1.4.2_01/lib/dt.jar(javax/swing/UIManager.java):90: class UIManager is public, should be declared in a file named UIManager.java
..and similar messages for each file under javax/swing
I first need to be able to recompile the swing with
a change to JViewport.java and see if the old code
would fix my problem. I recreated dt.jar but for
some reason putting that in my CLASSPATH doesn't work.
(as mentioned with error above). Does anyone know
what I need to do to avoid the above compile errors?
Second, I need to figure why the code needsRepaintAfterBlit() is returning false for my application.
Any help will be appreciated...Well, in order to "investigate whey the "needsRepaintAfterBlit()" method is apparently coming out false " I need to run my program in debug. In
order to look at values at breakpoints in a debugger
I need to compile with debug on...which gets me back
to my very first problem of needing to recompile the
swing.
I found the solution was to change the JViewport.java
in the jre/lib/rt.jar and then run. -
Revision: 3921
Author: [email protected]
Date: 2008-10-28 06:23:00 -0700 (Tue, 28 Oct 2008)
Log Message:
Fix for - @inheritDoc tag not working for get/set overrides when you only override the setter of a base class
QE Notes: Baselines for framework test will need to be updated.
Doc Notes: None
Reviewer: Paul
Bugs: SDK-17304
tests: checkintests
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17304
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.javaRevision: 3921
Author: [email protected]
Date: 2008-10-28 06:23:00 -0700 (Tue, 28 Oct 2008)
Log Message:
Fix for - @inheritDoc tag not working for get/set overrides when you only override the setter of a base class
QE Notes: Baselines for framework test will need to be updated.
Doc Notes: None
Reviewer: Paul
Bugs: SDK-17304
tests: checkintests
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17304
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ASDocExtension.java
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.java -
Revision: 13257
Revision: 13257
Author: [email protected]
Date: 2010-01-04 10:49:13 -0800 (Mon, 04 Jan 2010)
Log Message:
Fix for @inheritDoc not working on a setter, but works on a getter
QE notes: None.
Doc notes: None
Bugs: SDK-24727
Reviewed By: Paul
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-24727
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/ClassTable.javasteabert wrote:
Hi,
I had a similar problem with my Dell Latitude E4310, and apparently also the E6410, E6510.
The solution for me was to add the following line to /etc/modprobe.d/modprobe.conf:
options snd-hda-intel model=dell-s14
I tried that, unfortunately it does not work with this chipset. I do get a different set of channels though but it still cannot record anything. Maybe this chipset is too "new" for alsa. The latest release dates back from the end of January. Support for it is explicitly stated in the changelog to 1.0.24 but perhaps the recording part of it slipped through the cracks. ALSA bug tracking system seems quite closed. -
Thunderbird Mission Control Desktop/AutoConfig not working for some users
I have the file: "C:\Program Files (x86)\Mozilla Thunderbird\defaults\pref\custom.js"
It contains:
pref("general.config.obscure_value", 0);
pref("general.config.filename", "TMcustom.cfg");
I have the file: "C:\Program Files (x86)\Mozilla Thunderbird\TMcustom.cfg"
It contains:
var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"]
.getService(Components.interfaces.nsIPromptService);
promptService.alert(null, "title", "testing");
For most of my users the alert pops up fine when I start Thunderbird, but for a few it doesn't. All of the machines where setup with the same install script. If I log into one of the machines where it's not working as a different user, then it works fine, so I know the files are in the right spot. So why would it not work for specific users? Is there something in the user's Windows profile that could cause it to not work? Or are there any other suggestions?As it turns out this was a known bug that was corrected in the recent release of Java 7_65 and Java 8_11. Here is a link to the bug description in the database.
Bug ID: JDK-8019274 RMI thread can no longer call out to AWT thread for webstart app -
I have loaded some interdependent java classes in Oracle
successfully, Not sure about how to write call specs for
these as one method of class A needs an object of class B as
input parameter.
TIA
PMA silly thought just occurred to me. Wouldn't it be
great to have a dictionary of baby names for java
classes? I sometimes have a hard time coming up with
a name for a new class. You know, something other
r than Foo. Be great if I could just look up some
suggestions for the kind of thing I'm doing...okay
back to work.What? I'd rather have a name which is related to what the class does. It doesn't make sense to call e.g. a Date class Jim.
Kaj - not a class -
Baby names for Java classes?
A silly thought just occurred to me. Wouldn't it be great to have a dictionary of baby names for java classes? I sometimes have a hard time coming up with a name for a new class. You know, something other than Foo. Be great if I could just look up some suggestions for the kind of thing I'm doing...okay back to work.
A silly thought just occurred to me. Wouldn't it be
great to have a dictionary of baby names for java
classes? I sometimes have a hard time coming up with
a name for a new class. You know, something other
r than Foo. Be great if I could just look up some
suggestions for the kind of thing I'm doing...okay
back to work.What? I'd rather have a name which is related to what the class does. It doesn't make sense to call e.g. a Date class Jim.
Kaj - not a class -
Get the relative path for java class
How to get Relative path for java class which is inside in web-inf directory in webapps
ajay.manchu wrote:
Hi gimbal2,
My Requirement is i need to run a java class from batch file,when i created batch file in that i need to mention the complete path of the java class,so instead of mentioning that i want to provide only java class name,thats why i asked that one..
can u help me regarding that....
Thanks in advanceI wonder how that would work then. Let's take a fictive example. You have a class com.mycompany.myapp.Foo. This would mean that the class is stored in some directory like this:
c:/webrootdir/myapp/WEB-INF/classes/com/mycompany/myapp/Foo.classTo be able to run such a class from the commandline using Java, you would have to invoke this command:
java -cp c:/webrootdir/myapp/WEB-INF/classes com.mycompany.myapp.FooHow would knowing the exact path to this class help you? -
Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5
Hi,
I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
At first I always get a java security warning when the applet is being loaded about unsigned applications.
At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
iResult [ERROR] - Couldn't set query template: No Query Defined
iResult [ERROR] - Couldn't set display template: null
iResult [ERROR] - Couldn't set display template: null
Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
If I call the same MII page from a client with Java 1.6.x it is working without errors.
Do you have some suggestions for me?
Regards Timoplease clear your JAVA Cache. that should solve the JRE issue. thanks
-
OC4J JSP Debugging not working for all the jsps
Hi,
Initially I was not able to debug jsps using Eclipse and OC4J. The jsp debugging started working once I made the below changes:
1) global-web-application.xml is modified
Changed the attribute development="true" in orion-web-app
Added the below init param for the JspServlet
<init-param>
<param-name>debug</param-name>
<param-value>class</param-value>
</init-param>
If the jsps are present in a sub directory under the webcontent none of the breakpoints are working. I am still be able to view the jsp pages on the browser.
Tools: Oracle 10g Application Server Standalone version(10.1.3.5.0), JDK5, Windows XP, Eclipse Indigo
Project Structure:
Test (Eclipse Dynamic Web Project)
-WebContent
Sample.jsp ( Breakpoints are working)
-subF (Folder)
SubSample.jsp (Breakpoints are not working)
-WEB-INF
web.xml
Debugging worked for http://localhost:8888/Test/Sample.jsp
Debugging not working for http://localhost:8888/Test/subF/SubSample.jsp
Any help is highly appreciated.
Regards
DannyThis tells there is not enough main memory (not disk space) for the program to run.
- You can look the dump in ST22, it will have suggestions on increasing the ROLLAREA??, you can forward that to Basis.
- Most likely you will not have any more memory to assign so the above may not be feasible. Try to rework your query so it works with less data. -
BAPI not working in Java Webdynpro
Hi,
My BAPI from SAP is working in Netweaver perfectly, but when I call the same with the equal parameters in Java webdynpro, no results.
I'm using following function: 'CVAPI_DOC_VIEW'.
Any idea why the BAPI is not working in Java Webdynpro?
Regards,
TimHi Tim,
AFAIK 'CVAPI_DOC_VIEW' will work only in standard SAP Dynpro. Inside Webdynpro it is forbidden to save files in the background and using GUI class with execute, so you cannot use that Standard FM.
Check this thread .
Thanks
Katrice -
Query Excetion not working for Charactristic restriction
Hi ,
I am trying to create one Exception in Query Designer.
The requirement is : Report should highlight the data cells where Material Group is "AAAA".
Now I created one exception and rectricted to Material Group " AAAA".
Now the issue is : It is working in Analyser But not in portal.
It is working in ABAP web( RSRT Transaction) but not in JAVA web.
I created a new exception only rectriction related to data cells( for example: Gross profit > 100) ..It is working ...
I dont know why my system is not working for exceptions restricted to Characteristic.
There may be some setting , I am missing which is leading to this issue. As the exception is working in Analyser, I donot think there is any issue with Exception definition...
So please guide me ..... if you have already faced this type of issue and resolved the same...
ThanksHi ,
I am trying to create one Exception in Query Designer.
The requirement is : Report should highlight the data cells where Material Group is "AAAA".
Now I created one exception and rectricted to Material Group " AAAA".
Now the issue is : It is working in Analyser But not in portal.
It is working in ABAP web( RSRT Transaction) but not in JAVA web.
I created a new exception only rectriction related to data cells( for example: Gross profit > 100) ..It is working ...
I dont know why my system is not working for exceptions restricted to Characteristic.
There may be some setting , I am missing which is leading to this issue. As the exception is working in Analyser, I donot think there is any issue with Exception definition...
So please guide me ..... if you have already faced this type of issue and resolved the same...
Thanks -
ODI 11g 11.1.1.7 with Win64 bit OS : Strange problem : Right click does not work for Create new data server in Topology.
On right click nothing happens at all. I have reinstall the ODI multiple times with right installer. issue persist.
Please help.Hi,
Did you use the generic installer or the win32 one ? You should use the former with Win64.
You can also check that your version of Java is supported in the certification matrix.
Regards,
JeromeFr -
Reverse Engineering is not working for custom
hi odi guru's
i installled Hyperion 11.1.2.2 and ODI 11.1.1 . while doing reverse engineering is not working for custom purpose.
Iam working with Hyperion Financial management with odi. created dataserver and physical schema and logical schema
and imported RKM HYperion Financial Management Knowledge module.
is it required for hyperion latest patches to connect with odi. Please let me know . urgent?
Thanks in adavncehi
is it required for hyperion patches to connect with odi?
iam getting following error.
ODI-1217: Session HFM_Model (5051) fails with return code 7000.
ODI-1226: Step HFM_Model fails after 1 attempt(s).
ODI-1229: An error occurred while performing a Reverse operation on model code HFM_MODEL.
Caused By: org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 38, in <module>
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: Traceback (most recent call last):
File "<string>", line 38, in <module>
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.Py.JavaError(Py.java:455)
at org.python.core.Py.JavaError(Py.java:448)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:177)
at org.python.core.PyObject.__call__(PyObject.java:355)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:381)
at org.python.core.PyObject.__call__(PyObject.java:385)
at org.python.pycode._pyx1.f$0(<string>:38)
at org.python.pycode._pyx1.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1204)
at org.python.core.Py.exec(Py.java:1248)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
... 19 more
Caused by: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
... 33 more
Caused by: com.hyperion.odi.hfm.wrapper.HFMException: Error occurred while loading driver.
at com.hyperion.odi.hfm.wrapper.HFMServer.<init>(HFMServer.java:29)
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:51)
... 40 more
Caused by: com.hyperion.odi.hfm.wrapper.HFMException: no HFMDriver in java.library.path
at com.hyperion.odi.hfm.wrapper.HFMDriverJNI.getDriver(HFMDriverJNI.java:23)
at com.hyperion.odi.hfm.wrapper.HFMServer.<init>(HFMServer.java:26)
... 41 more
please help me , thanks in advacne
Maybe you are looking for
-
No Query Result After Using Hierarchy Node Variable (Customer Exit)
Hi I have problem at my query. It doesn't show anything in BEx but when i check the data in BW using tcode LISTCUBE i can display the data. This problem happen when i change the restrictions for one of characteristic in filter value. The characterist
-
Unable to view safari and music longway after software update
Hi after i updated my ipod touch 4th gen, it became unable to view safari pages and music long ways. I am also unable to view videos the short way. Motion gesture however is still working fine on games.
-
10.4.6 clients dropping 10.3.9 server home folder
For over a year our school had many 10.3.x clients authenticating against a win2k AD, and then finding their home folders via AFP on an OS X server 10.3.x. Worked very, very well. Now we upgraded one lab of our clients to 10.4.6 and the process break
-
AppleWorks 6.2.9 Updater not running because of default?
I have version 5.0.4 of AppleWorks, so I decided to update it with the 6.2.9 Updater. Whenever I run the program, a window pops up saying "The default location for this install could not be found. This install was canceled." How do I change the defau
-
Hello, I'm new to Weblogic. I wrote a client code used to test the session bean. May I ask how to run a standalone client code in Weblogic workshop? Thanks in advance.