Details

    • Type: Sub-task Sub-task
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      /**
       * Here the <T> is the problem
       */
      public void testGenericConstructor() {
      	JavaDocBuilder builder = new JavaDocBuilder();
      	String source = 
      		"public class MXBeanSupport {\n" +
      		"  public <T> MXBeanSupport(T resource, Class<T> mxbeanInterface)\n" +
      		"    throws NotCompliantMBeanException {\n" +
      		" } \n" +
      		"}";		
      	builder.addSource(new StringReader(source));
      }
      

        Activity

        Hide
        Robert Scholte added a comment -

        This might be a tough one, since I can't find a useful entry about this syntax mechanism in the java-specs ( http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html ).
        The parsing part won't be too hard, but for building the JavaClass-model I need to know how to handle this stuff.

        Show
        Robert Scholte added a comment - This might be a tough one, since I can't find a useful entry about this syntax mechanism in the java-specs ( http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html ). The parsing part won't be too hard, but for building the JavaClass-model I need to know how to handle this stuff.
        Hide
        Robert Scholte added a comment -

        Fixed in rev. 699.
        Now it'll at least parse according to the constructor-specs

        Show
        Robert Scholte added a comment - Fixed in rev. 699 . Now it'll at least parse according to the constructor-specs
        Robert Scholte made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Robert Scholte [ rfscholte ]
        Resolution Fixed [ 1 ]
        Fix Version/s 1.11 [ 16104 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Marco Soldati
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: