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

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

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 6
    • Fix Version/s: 6
    • Component/s: tools
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      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);
                  }
              }

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: