Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-669

Java 1.8 incompatibility and Build failures

    XMLWordPrintableJSON

Details

    Description

      I just wanted to let everyone know, the OpenNLP project is not compatible with the new Java 1.8.

      I get two (2) issues:

      1) Fails test:

      Failed tests:
      testPerceptronOnPrepAttachDataWithStepSizeDecrease(opennlp.tools
      .ml.perceptron.PerceptronPrepAttachTest):
      expected:<0.7756870512503095> but was:
      <0.7766773953948998>

      2) Java document generation fails miserably.

      [ERROR] * <li>.bin --> the file is binary
      [ERROR] ^
      [ERROR]
      C:\Users\jkosin\Documents\Projects\OpenNLP\opennlp\opennlp-tools\src\mai
      n\java\opennlp\tools\ml\perceptron\SuffixSensitivePerceptronModelWriter.java:41:
      error: bad use of '>'
      [ERROR] * <li>.bin --> the file is binary
      [ERROR] ^
      [ERROR]
      C:\Users\jkosin\Documents\Projects\OpenNLP\opennlp\opennlp-tools\src\mai
      n\java\opennlp\tools\postag\POSModel.java:64: error: reference not found

      The second for javadoc errors are probably due to more stringent checking in javadoc.
      The first... is a bit disconcerting and troubling. I'm going to check into this; because this error shouldn't be happening.

      Attachments

        1. test_eventstream_java_1.8.0.txt
          1.08 MB
          James Kosin
        2. test_eventstream_java_1.7.0_51.txt
          1.08 MB
          James Kosin
        3. java_test_1.8.0.txt
          10 kB
          James Kosin
        4. java_test_1.7.0_51.txt
          11 kB
          James Kosin

        Issue Links

          Activity

            People

              jkosin James Kosin
              jkosin James Kosin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 504h
                  504h
                  Remaining:
                  Remaining Estimate - 504h
                  504h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified