I think there's a problem with what you have written here, because the input you gave will not print what you have in the output. As is, your code will print the following to console:
********1
*******2
******3
*****4
****5
***6
**7
*8
This has to do with the variable line
counting up from 1 when it should be counting down from 8, or perhaps a mathematical operation not being applied to the System.out.println(line);
statement you have. Try switching things around so one matches the other and vice versa.