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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Done
    • Jena 2.7.4
    • Jena 2.11.0
    • Build, Ontology API
    • None
    • 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

            ijd Ian Dickinson
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: