generics are not supported in -source 1.3

后端 未结 7 1222
太阳男子
太阳男子 2020-12-19 22:01

I have a problem while maven packaging. In this code:

public class LoginDialog extends Dialog {

    private final TextField customer;
                 


        
7条回答
  •  星月不相逢
    2020-12-19 22:07

    When you compile your code with -source 1.3, the compiler does not support assertions, generics, or other language features introduced after JDK 1.3.

提交回复
热议问题