c'est un warning assez bizarre... en fait il y en a deux :
le primier pour cette classe:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
 
public class VHDLExceptions extends Exception{
 
    /**
     * Creates a new instance of VHDLExceptions
     */
    public VHDLExceptions() {
        super();
    }
    public VHDLExceptions(String msg){
        super(msg);
    }
}
le javac -Xlint me sort un warning "... has no definition of serialVersionUID".
j'ai ajouter
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
 
private final static long serialVersionUID = 41;
le warning est parti mais le truc c'est que je ne comprend pas pq il me sort ça ???????

le deuxiéme est aussi un warinig de has no definition of serialVersionUID
a la ligne 226
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
 
jPanel7.setBorder(javax.swing.BorderFactory.createTitledBorder("Copro IN/OUT"));//ligne 225
        coproList.setModel(new javax.swing.AbstractListModel() { //ligne 226
            String[] strings = { "CLK (INPUT 1bit)", "CLK_EN (INPUT 1bit)", "START (INPUT 1bit)", "RESET (INPUT 1bit)", "DATAA (INPUT 32bits)", "DATAB (INPUT 32bits)", "RESULT (OUTPUT 32bits)", "DONE (OUTPUT 1bit)" };//ligne 227
            public int getSize() { return strings.length; }//ligne 228
            public Object getElementAt(int i) { return strings[i]; }//ligne 229
        });//ligne 230
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
 
/media/sda2/pfe/Pfpgav/src/pfpgav/environnement_typique_wizzard.java:226: warning: [serial] serializable class <anonymous pfpgav.environnement_typique_wizzard$6> has no definition of serialVersionUID
        coproList.setModel(new javax.swing.AbstractListModel() {
... a quoi sert un serialVersionUID ????????????????????
c'est quoi cette histoire ???

merci d'avence