• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

groovy and packages

 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is groovy forgiving when we type wrong package names.
 
Dierk K├Ânig
author
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Groovy is only different from Java when it comes to package names in that it has not only "java.lang" as default import but also
java.io
java.net
java.math.BigDecimal
java.math.BigInteger
groovy.lang
groovy.util

If you misspell any of those, it may appear as if Groovy would be more forgiving...

cheers
Dierk
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's really a nice feature!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic