-
Sub-task
-
Resolution: Delivered
-
P4
-
25
The output for `-Xprint` has been updated to include bounds for type variables and `java.lang.Object` as a supertype, if the supertype is annotated.
For example, this code:
```
public class PrintingTest<T extends CharSequence> extends @TA Object {
}
```
now produces this output:
```
$ java -Xprint PrintingTest.java
public class PrintingTest<T extends java.lang.CharSequence> extends java.lang.@TA Object {
public PrintingTest();
}
```
For example, this code:
```
public class PrintingTest<T extends CharSequence> extends @TA Object {
}
```
now produces this output:
```
$ java -Xprint PrintingTest.java
public class PrintingTest<T extends java.lang.CharSequence> extends java.lang.@TA Object {
public PrintingTest();
}
```