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

javac/Diagnostics/6769027/T6769027.java failing, javac does not define a service type for resources

XMLWordPrintable


      This test is failing with InternalError since the changes for JDK-8139067 have been pushed to jake. These changes means that javac will need to decide if it wants to support resources deployed as modules or not.

      java.lang.InternalError: Cannot find requested resource bundle for locale en_US
      at com.sun.tools.javac.util.JavacMessages.getBundles(jdk.compiler@9.0/JavacMessages.java:128)
      at com.sun.tools.javac.util.JavacMessages.getLocalizedString(jdk.compiler@9.0/JavacMessages.java:147)
      at com.sun.tools.javac.util.AbstractDiagnosticFormatter.localize(jdk.compiler@9.0/AbstractDiagnosticFormatter.java:330)
      at com.sun.tools.javac.util.AbstractDiagnosticFormatter.formatKind(jdk.compiler@9.0/AbstractDiagnosticFormatter.java:110)
      at com.sun.tools.javac.util.BasicDiagnosticFormatter.formatMeta(jdk.compiler@9.0/BasicDiagnosticFormatter.java:165)
      at com.sun.tools.javac.util.BasicDiagnosticFormatter.formatDiagnostic(jdk.compiler@9.0/BasicDiagnosticFormatter.java:100)
      at com.sun.tools.javac.util.AbstractDiagnosticFormatter.format(jdk.compiler@9.0/AbstractDiagnosticFormatter.java:119)
      at com.sun.tools.javac.util.AbstractDiagnosticFormatter.format(jdk.compiler@9.0/AbstractDiagnosticFormatter.java:71)
      at T6769027.run(T6769027.java:391)
      at T6769027.main(T6769027.java:421)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9.0/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9.0/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9.0/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9.0/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(java.base@9.0/Thread.java:747)
      Caused by: java.util.MissingResourceException: Can't find bundle for base name tester, locale en_US
      at java.util.ResourceBundle.throwMissingResourceException(java.base@9.0/ResourceBundle.java:1983)
      at java.util.ResourceBundle.getBundleImpl(java.base@9.0/ResourceBundle.java:1668)
      at java.util.ResourceBundle.getBundleImpl(java.base@9.0/ResourceBundle.java:1576)
      at java.util.ResourceBundle.getBundleImpl(java.base@9.0/ResourceBundle.java:1551)
      at java.util.ResourceBundle.getBundle(java.base@9.0/ResourceBundle.java:984)
      at com.sun.tools.javac.util.JavacMessages.lambda$add$0(jdk.compiler@9.0/JavacMessages.java:106)
      at com.sun.tools.javac.util.JavacMessages.getBundles(jdk.compiler@9.0/JavacMessages.java:125)
      ... 15 more

            mchung Mandy Chung (Inactive)
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: