Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8003649

regression/langtools: tools/javac/doctree

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 8
    • None
    • tools
    • b65
    • 8
    • b66
    • generic
    • windows


      tools/javac/doctree test fail on windows

      Error: AST mismatch for version

      tools/javac/doctree/AttrTest.java
      tools/javac/doctree/AuthorTest.java
      tools/javac/doctree/CodeTest.java
      tools/javac/doctree/DeprecatedTest.java
      tools/javac/doctree/DocRootTest.java
      tools/javac/doctree/ElementTest.java
      tools/javac/doctree/EntityTest.java
      tools/javac/doctree/ExceptionTest.java
      tools/javac/doctree/FirstSentenceTest.java
      tools/javac/doctree/InheritDocTest.java
      tools/javac/doctree/LinkPlainTest.java
      tools/javac/doctree/LinkTest.java
      tools/javac/doctree/LiteralTest.java
      tools/javac/doctree/ParamTest.java
      tools/javac/doctree/ReturnTest.java
      tools/javac/doctree/SeeTest.java
      tools/javac/doctree/SerialDataTest.java
      tools/javac/doctree/SerialFieldTest.java
      tools/javac/doctree/SerialTest.java
      tools/javac/doctree/SinceTest.java
      tools/javac/doctree/TagTest.java
      tools/javac/doctree/ThrowableTest.java
      tools/javac/doctree/ValueTest.java
      tools/javac/doctree/VersionTest.java

      Sampple:
      ----------System.err:(42/1145)----------
      METHOD version ASTChecker
      Expect:
      DocComment[DOC_COMMENT, pos:1
        firstSentence: empty
        body: empty
        block tags: 1
          Version[VERSION, pos:1
            body: 1
              Text[TEXT, pos:10, 1.2]
          ]
      ]

      Found:
      DocComment[DOC_COMMENT, pos:1
        firstSentence: empty
        body: empty
        block tags: 1
          Version[VERSION, pos:1
            body: 1
              Text[TEXT, pos:10, 1.2]
          ]
      ]

      Error: AST mismatch for version

      METHOD version PosChecker

      METHOD version PrettyChecker

      java.lang.Exception: 1 errors occurred
      at DocCommentTester.run(DocCommentTester.java:120)
      at DocCommentTester.main(DocCommentTester.java:59)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors occurred


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 1 errors occurred

            jjg Jonathan Gibbons
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: