[Java] liste des changements entre 2 versions du JDK

liste des changements entre 2 versions du JDK [Java] - Programmation

Marsh Posté le 15-03-2002 à 14:46:57    

salut,
 
on vient de me dire qu'il semblerait qu'il soit interdit de faire des imports de classes qui ne sont pas dans un package dans la JDK1.4...
 
étant donné que je vais bientôt devoir assurer une vérif d'un projet pour changer de JDK je voudrais lire un peu de doc à mes heures perdues... et je n'arrive pas à mettre la main dessus chez Sun ... j'dois être bigleux...
 
z'avez une url ?


---------------
As the plane took off, the pilot turned to the co-pilot and said, “Have you ever flown solo?” Co-pilot: No. Typically I fly much higher than this.
Reply

Marsh Posté le 15-03-2002 à 14:46:57   

Reply

Marsh Posté le 15-03-2002 à 14:53:40    

http://java.sun.com/j2se/1.4/compatibility.html


---------------
Just because you feel good does not make you right
Reply

Marsh Posté le 15-03-2002 à 14:54:35    

Citation :


 
The compiler now rejects import statements that import a type from the unnamed namespace. Previous versions of the compiler would accept such import declarations, even though they were arguably not allowed by the language (because the type name appearing in the import clause is not in scope). The specification is being clarified to state clearly that you cannot have a simple name in an import statement, nor can you import from the unnamed namespace.  
To summarize, the syntax  
 
import SimpleName;
 
is no longer legal. Nor is the syntax  
import ClassInUnnamedNamespace.Nested;
 
which would import a nested class from the unnamed namespace. To fix such problems in your code, move all of the classes from the unnamed namespace into a named namespace.  
 


---------------
Just because you feel good does not make you right
Reply

Marsh Posté le 15-03-2002 à 14:54:53    

TBone a écrit a écrit :

 
je n'arrive pas à mettre la main dessus chez Sun ... j'dois être bigleux...




 
Je confirme :lol:
 
http://java.sun.com/j2se/1.4/datasheet.1_4.html
http://java.sun.com/j2se/1.4/articles.html
 
et surtout :
 
http://developer.java.sun.com/deve [...] s/j2se1.4/
 
Allez avoue : tu n'as pas cherche ? :)

Reply

Marsh Posté le 15-03-2002 à 15:06:35    

si mais par "products et apis"

 

[jfdsdjhfuetppo]--Message édité par TBone--[/jfdsdjhfuetppo]


---------------
As the plane took off, the pilot turned to the co-pilot and said, “Have you ever flown solo?” Co-pilot: No. Typically I fly much higher than this.
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed