Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901709

Sigtest doesn't work well with default values for Deprecated annotaion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • st4.0
    • st4.0
    • tools
    • b10
    • Verified

    Description

      When sigtest is used with the options below the following is the result for Deprecated annotation:
       anno 0 java.lang.Deprecated(boolean forRemoval=null, java.lang.String since=null)

      Expected with default values:
       anno 0 java.lang.Deprecated(boolean forRemoval=false, java.lang.String since="")


      To reproduce:

      /set/java/re/jdk/9/promoted/ea/123/binaries/solaris-sparcv9/bin/java -classpath /net/fury.ru.oracle.com/export/users/vrudomet/9/build_reviewed/out/shared/suite/JCK-compiler-9/classes com.sun.tdk.signaturetest.Setup -fileName result.sig -classpath 1/:1/javase9_java.sig -static -NonClosedFile -package Vitek

      Files attached.

      Attachments

        1. javase9_java.zip
          198 kB
        2. result.sig
          0.2 kB
        3. Test.class
          0.3 kB
        4. Test.java
          0.0 kB

        Activity

          People

            ersh Mikhail Ershov (Inactive)
            vrudomet Victor Rudometov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: