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

test/sun/util/logging/PlatformLoggerTest.java needs @compile tag to be compiled by jtreg

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • None

      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:69: cannot find symbol private static void checkPlatformLogger(PlatformLogger logger, String name) { ^
       symbol: class PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:45: cannot find symbol PlatformLogger goo = PlatformLogger.getLogger(GOO_PLATFORM_LOGGER);
             ^
       symbol: class PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:45: cannot find symbol PlatformLogger goo = PlatformLogger.getLogger(GOO_PLATFORM_LOGGER);
                                  ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:48: cannot find symbol PlatformLogger foo = PlatformLogger.getLogger(FOO_PLATFORM_LOGGER);
             ^
       symbol: class PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:48: cannot find symbol
             PlatformLogger foo = PlatformLogger.getLogger(FOO_PLATFORM_LOGGER);
                                  ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:56: cannot find symbol
             PlatformLogger bar = PlatformLogger.getLogger(BAR_PLATFORM_LOGGER);
             ^
       symbol: class PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:56: cannot find symbol
             PlatformLogger bar = PlatformLogger.getLogger(BAR_PLATFORM_LOGGER);
                                  ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:65: cannot find symbol
             foo.setLevel(PlatformLogger.SEVERE);
                          ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:80: cannot find symbol
             if (logger.isLoggable(PlatformLogger.FINE) != false) {
                                   ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:85: cannot find symbol
             logger.setLevel(PlatformLogger.FINER);
                             ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      jdk7/jdk/test/sun/util/logging/PlatformLoggerTest.java:91: cannot find symbol
             if (logger.isLoggable(PlatformLogger.FINE) != true) {
                                   ^
       symbol: variable PlatformLogger
       location: class PlatformLoggerTest
      12 errors

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: