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

JDK17 doesn't support ZWG currency which is valid currency globally.

XMLWordPrintable

      ADDITIONAL SYSTEM INFORMATION :
      JDK17 doesn't support ZWG currency which is valid currency globally. As per report 1st Sept 2024 onwards ZWL should be demise from support(which is currently supported by JDK 17) and ZWG should be made available as available currency list.

      A DESCRIPTION OF THE PROBLEM :
      JDK17 doesn't support ZWG currency which is valid currency globally. As per report 1st Sept 2024 onwards ZWL should be demise from support(which is currently supported by JDK 17) and ZWG should be made available as available currency list.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      import java.util.Currency;
      import java.util.Set;

      public class Main {
          public static void main(String[] args) {
              System.out.println("hello, world");
              
                Set<Currency> currencies = Currency.getAvailableCurrencies();
              for (Currency currency : currencies) {
                  System.out.println(currency.getCurrencyCode());
              }
          }
      }

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      ZWG should be part of supported currency list
      ACTUAL -
      ZWG is not listed in available currency list.

      ---------- BEGIN SOURCE ----------
      import java.util.Currency;
      import java.util.Set;

      public class Main {
          public static void main(String[] args) {
              System.out.println("hello, world");
              
                Set<Currency> currencies = Currency.getAvailableCurrencies();
              for (Currency currency : currencies) {
                  System.out.println(currency.getCurrencyCode());
              }
          }
      }
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      its blocker issue

      FREQUENCY : always


            tongwan Andrew Wang
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: