🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18170

Re: Will JDK1.1 programs be compatible with JDK1.2?

#18170
From: Richard Wilkman
Date: Mon, 03 Aug 1998 00:00
96 lines
4466 bytes
John:

Well, at least it looks like they have the same swing packages now
(1.2 used to stick jfc elsewhere, making it impossible for anything
that used com.sun.swing.* to work in 1.2).

Off the top of my head, make sure you are using the 1.2 classes only. 
classes.zip doesn't exist anymore, it's replaced by the rt.jar found
in jre\lib.  There isn't much to go on in the error trace you
attached.

I'd make a "clean" dos box, set the classpath to use your classes
compiled in JBuilder, the jars for the jbcl and jgl stuff and only the
JDK classes from the 1.2 set.  Most often I see weirdness just because
some cross-references snuck in via the CLASSPATH.  Now, the mechanism
that JBuilder uses to build the classpath is in the docs, but working
clean still seems to isolate the problem faster.

-Rich

Papadomichelakis John wrote:
> 
> I have not worked with JDK1.2 much.
> 
> I downloaded the JRE 1.2 beta 4 from JavaSoft and I discovered that must
> of my programs do not
> work.
> I did not recompile my programs using JDK1.2.
> Is it necessary?
> If it is, then what about the JBCL library which is compiled under
> JDK1.1?
> 
> I attached the exception log that I am getting from some programs.
> 
> --
> 
> Papadomichelakis John
> "Unite for Java! - http://www.javalobby.org"
> __________________________________________________
> email : michelos@freemail.gr
> TEL   : 30 31 758 429,       30 31 709 796
> __________________________________________________
> 
>   ----------------------------------------------------------------------
> Exception occurred during event dispatching:
> java.lang.NullPointerException
>         at borland.jbcl.view.GridView.addFocusListener(GridView.java:724)
>         at com.sun.java.swing.JComponent.enableSerialization(Compiled Code)
>         at com.sun.java.swing.JComponent.<init>(Compiled Code)
>         at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:201)
>         at com.sun.java.swing.JScrollPane.<init>(JScrollPane.java:250)
>         at borland.jbcl.view.GridView.<init>(GridView.java:47)
>         at borland.jbcl.control.GridControl.<init>(GridControl.java:41)
>         at JAIMMS.parametric.w_st_lines.<init>(w_st_lines.java:30)
>         at JAIMMS.parametric.w_st_lines.show(w_st_lines.java:51)
>         at JAIMMS.JAIMMSMan.m_const_lines_actionPerformed(JAIMMSMan.java:233)
>         at JAIMMS.JAIMMSMan_m_const_lines_actionAdapter.actionPerformed(JAIMMSMan.java:377)
>         at java.awt.MenuItem.processActionEvent(MenuItem.java:438)
>         at java.awt.MenuItem.processEvent(MenuItem.java:402)
>         at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:189)
>         at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:181)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:225)
>         at java.awt.EventDispatchThread.run(Compiled Code)
> 
>   ----------------------------------------------------------------------
> 
>   John Papadomichelakis <michelos@freemail.gr>
>   BIA
> 
>   John Papadomichelakis
>   BIA           <michelos@freemail.gr>
>                 HTML Mail
>   9 Filippou    Work: 267 923
>   Euosmos       Home: 758 429
>   Thessaloniki  Netscape Conference Address
>   56224         Netscape Conference DLS Server
>   Hellas
>   Additional Information:
>   Last Name Papadomichelakis
>   First NameJohn
>   Version   2.1

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <35C63A60.8A270EC9@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35C45133.65A1A7C6@freemail.gr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,31aa7a37233fd3d6
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: Will JDK1.1 programs be compatible with JDK1.2?
Date: 1998/08/03
Message-ID: <35C63A60.8A270EC9@inprise.com>
X-Deja-AN: 377632755
Content-Transfer-Encoding: 7bit
References: <35C45133.65A1A7C6@freemail.gr>
Content-Type: text/plain; charset=iso-8859-7
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language