Andy Seaborne created JENA-333:
----------------------------------

             Summary: Using javadoc 7 causes exception in build 
(DAMLVocabulary, DAML_OIL)
                 Key: JENA-333
                 URL: https://issues.apache.org/jira/browse/JENA-333
             Project: Apache Jena
          Issue Type: Bug
          Components: Build, Onotology API
    Affects Versions: Jena 2.7.4
         Environment: Java 7 (1.7.0_07) Linux 64 bit. (but not Java 1.6.0_24)
            Reporter: Andy Seaborne
            Priority: Minor


The following two files cause javadoc production under java 7 to throw an 
exception:

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

DAML_OIL.java seems to have other problems as well.

/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


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).



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to