Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036532
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2017-07-26 08:222017-07-27 15:12
ReporteralostaleView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036532: javadoc warns when building with Java 8

DescriptionWhen building javadoc with Java 8, some warnings are detected.
Steps To ReproduceRun ant generate.java.doc with JDK8
  -> check log
  [javadoc] Standard Doclet version 1.8.0_131
  [javadoc] Building tree for all the packages and classes...
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- @propertyDescription is an unknown tag.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- @propertyDescription is an unknown tag.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src/org/openbravo/base/model/Property.java:1025: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- @propertyDescription is an unknown tag.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- @propertyDescription is an unknown tag.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] /home/alostale/ws/pi-pg2/openbravo/src-gen/org/openbravo/model/ad/ui/Tab.java:513: warning 
- Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties 
getters and setters.
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /home/alostale/ws/pi-pg2/openbravo/docs/api/help-doc.html...
  [javadoc] 16 warnings

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036508 closedOrekaria ant generate.java.doc marks the build as successful even if contained errors 

-  Notes
(0098218)
alostale (developer)
2017-07-26 10:34

This issue can be reproduced with a simple class:

public class TestJavaDoc {
  public boolean isProperty() {
    return false;
  }
}

running: javadoc TestJavaDoc.java
$ javadoc TestJavaDoc.java
Loading source file TestJavaDoc.java...
Constructing Javadoc information...
Standard Doclet version 1.8.0_131
Building tree for all the packages and classes...
Generating ./TestJavaDoc.html...
TestJavaDoc.java:3: warning - @propertyDescription is an unknown tag.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
TestJavaDoc.java:3: warning - @propertyDescription is an unknown tag.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
TestJavaDoc.java:3: warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
Generating ./package-frame.html...
Generating ./package-summary.html...
Generating ./package-tree.html...
Generating ./constant-values.html...
Building index for all the packages and classes...
Generating ./overview-tree.html...
Generating ./index-all.html...
Generating ./deprecated-list.html...
Building index for all classes...
Generating ./allclasses-frame.html...
Generating ./allclasses-noframe.html...
Generating ./index.html...
Generating ./help-doc.html...
8 warnings
(0098247)
alostale (developer)
2017-07-27 15:11

Reported to OpenJDK [1], they rejected because seems to be a bug in ubuntu's build, reported to ubuntu [2].

[1] https://bugs.openjdk.java.net/browse/JDK-8185424 [^]
[2] https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1706969 [^]
(0098248)
alostale (developer)
2017-07-27 15:12

Seems to be a problem in javadoc tool rather than in Openbravo.

- Issue History
Date Modified Username Field Change
2017-07-26 08:22 alostale New Issue
2017-07-26 08:22 alostale Assigned To => platform
2017-07-26 08:22 alostale Modules => Core
2017-07-26 08:22 alostale Triggers an Emergency Pack => No
2017-07-26 08:22 alostale Relationship added related to 0036508
2017-07-26 08:22 alostale Status new => acknowledged
2017-07-26 10:34 alostale Note Added: 0098218
2017-07-27 15:11 alostale Note Added: 0098247
2017-07-27 15:12 alostale Status acknowledged => scheduled
2017-07-27 15:12 alostale Note Added: 0098248
2017-07-27 15:12 alostale Status scheduled => closed
2017-07-27 15:12 alostale Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker