Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-333

Using javadoc 7 causes warning exception in build (DAMLVocabulary, DAML_OIL)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: Jena 2.7.4
    • Fix Version/s: Jena 2.11.0
    • Component/s: Build, Ontology API
    • Labels:
      None
    • Environment:

      Java 7 (1.7.0_07) Linux 64 bit. (but not Java 1.6.0_24)

      Description

      Under java7, the build of jena core gets two stacktraces (marked as warning) in javadoc production. Unclear if the javadoc output is materially affected.

      The following two files are:

      com/hp/hpl/jena/vocabulary/DAMLVocabulary.java
      com/hp/hpl/jena/vocabulary/DAML_OIL.java

      It's unclear as to whether DAML_OIL.java problems maybe due to implementing DAMLVocabulary and nothing more.

      /usr/lib/jvm/java-7-openjdk-amd64/bin/javadoc \
      -classpath fuseki-server.jar \ – just a source of compiled Jena and all dependencies
      -encoding utf-8 \
      -d jdoc I.java

      The core problem is the form:

      -----------------------------------------------------
      import com.hp.hpl.jena.rdf.model.Resource ;
      import com.hp.hpl.jena.rdf.model.Property ;

      public interface I
      {
      public Resource Property();
      }
      -----------------------------------------------------

      where Property is a class and a method name, which is legal, it just breaks javadoc (standard doclet).

        Attachments

          Activity

            People

            • Assignee:
              ijd Ian Dickinson
              Reporter:
              andy.seaborne Andy Seaborne
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: