-
Type:
Sub-task
-
Resolution: Delivered
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: tools
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();
}
```