JSR 199: SimpleJavaFileObject should have a static helper method for creating URI

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: tools
    • generic
    • generic

      This method could be helpful in constructor calls in subclasses of
      SimpleJavaFileObject:

              protected static URI uriFromString(String uri) {
                  try {
                      return new URI(uri);
                  } catch (URISyntaxException e) {
                      throw new IllegalArgumentException(e);
                  }
              }

            Assignee:
            Peter Ahe
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: