Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1454

Re: Work around requested

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.help
Subject Re: Work around requested
Date 2011-12-17 23:39 -0800
Organization http://groups.google.com
Message-ID <21358626.210.1324193985024.JavaMail.geo-discussion-forums@pruu23> (permalink)
References <b887a9d5-a48b-409a-aee1-b1c95397506c@y7g2000vbe.googlegroups.com> <17844998.127.1324178380897.JavaMail.geo-discussion-forums@pril5> <nospam-92C1F7.01364918122011@news.aioe.org>

Show all headers | View raw


John B. Matthews wrote:
> I recently installed 1.7.0_02, and I can see them in either NetBeans or 
> the command line with the classpath option, e.g.:
> 
> javap -classpath "\Program Files\Java\jdk1.7.0_02\src.zip" com.sun.image.codec.jpeg.JPEGCodec
> 
> The bigger problem is that these classes may not be available in future 
> releases. You might want to look at removing the dependence. The 
> classes javax.imageio.ImageIO and java.awt.image.AffineTransformOp may 
> be all you need.

Excellent point, and rather more important than trying to solve the com.sun 
import. 

This sort of dependency issue is really good practice, because real-world 
programming mostly hinges on dependency issues.

Using standard classes as John says has an effect on dependencies, that is it removes them, and fewer dependencies mean simpler and more stable builds, easier deployment and fewer production issues.  Remember ops, and code clean.

-- 
Lew

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Work around requested bH <bherbst65@hotmail.com> - 2011-12-17 19:03 -0800
  Re: Work around requested Lew <lewbloch@gmail.com> - 2011-12-17 19:19 -0800
    Re: Work around requested "John B. Matthews" <nospam@nospam.invalid> - 2011-12-18 01:36 -0500
      Re: Work around requested Lew <lewbloch@gmail.com> - 2011-12-17 23:39 -0800
      Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-18 21:01 -0800
        Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 15:46 -0800
          Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 16:53 -0800
            Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 17:02 -0800
              Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 20:43 -0800
          Re: Work around requested "John B. Matthews" <nospam@nospam.invalid> - 2011-12-20 20:13 -0500
            Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-20 17:33 -0800
              Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-20 20:47 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 13:58 -0800
                Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-21 16:09 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 18:58 -0800
                Re: Work around requested Knute Johnson <nospam@knutejohnson.com> - 2011-12-21 19:09 -0800
                Re: Work around requested bH <bherbst65@hotmail.com> - 2011-12-21 18:50 -0800
  Re: Work around requested Roedy Green <see_website@mindprod.com.invalid> - 2011-12-18 12:51 -0800
    Re: Work around requested Joerg Meier <joergmmeier@arcor.de> - 2011-12-24 02:18 +0100

csiph-web