🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JDK 1.2 beta, can JBuilder use?

#19461
From: Bryan E. Boone
Date: Wed, 04 Feb 1998 00:00
131 lines
4866 bytes
public Pair(int count, Object initial)
  {
    if (count < 1)
      throw new IllegalArgumentException("Cannot construct empty lists.");
    _car = initial;
    _cdr = (  (count > 1)
            ? _cdr = new Pair(count-1, initial)
              : nil);
  }
fails...

public ArrayBasedSort(Object [] a, Comparator comparator, int algorithm)
  {
    this.a = a;
    this.comparator = comparator;
    if (algorithm < 0 || algorithm > LAST_ALGORITHM)
      throw new IllegalArgumentException("(algorithm < 0 || algorithm >
LAST_ALGORITHM)");
    this.algorithm = algorithm;
    if (algorithm == MERGE_SORT)
      b = new Object[a.length];
    else
      b = null;
  }

fails... says b may not be initialized... b is a final class member...

class MouseTracker extends java.awt.event.MouseAdapter
        implements java.awt.event.MouseMotionListener {

        public void mouseExited(java.awt.event.MouseEvent e) {
            if(_mouseOver) {
                _mouseOver = false;
                setWindowBorderStyle(BS_NONE);
            }
        }
..
.. //more code
..
}
fails... says BS_NONE is not defined... BS_NONE is defined in an
interface the outer class inherits from....


I give up

Rich Wilkman wrote in message <34D7A910.68D10063@corp.borland.com>...
>Bryan:
>
>_cdr?  Are you, perchance, an escaped LISP programmer? ;-)
>
>Do you have a Java snippet I can start with and an explanation of
>which of the 4 types of inner classes you are having trouble with.
>(Unless I missed something, nil didn't get added to Java yet and I'd
>need to know which flavor of inner classes so I can properly place
>your code fragment into a testbed).
>
>-Rich
>
>Bryan E. Boone wrote:
>>
>> Much of it is too involved to post here...
>> The majority is related inner classes.
>> However,
>>     _cdr = (  (count > 1)
>>             ? _cdr = new Pair(count-1, initial)
>>               : nil);
>> fails
>>
>> Rich Wilkman wrote in message <34D6089D.B4317041@corp.borland.com>...
>> >Bryan:
>> >
>> >Well, before you go would you like to share the code that doesn't
>> >compile and the error message?
>> >
>> >-Rich
>> >
>> >Bryan E. Boone wrote:
>> >>
>> >> Yeah...
>> >> That is one expensive text editor.  Especially since the version
>> >> of JBuilder won't even compile my 1.1 code written with a text
>> >> editor and a JDK.  ....And they want to charge for the their bug fixes
>> >> in their compiler ???!!!  Something's not quite right.
>> >>
>> >> So what do I do?  Bag Borland, swear it off (again), and kick myself
>> >> for trying it again.  I was one of the ones that got hosed with their
>> >> "improvements" of OWL 1.0 to OWL 2.0 in C++.
>> >>
>> >> Fool me once shame on you.  Fool me twice, shame on me.
>> >>
>> >> Shame on me!
>> >>
>> >> Joe Nuxoll wrote in message <34D24D5B.4841A5F8@corp.borland.com>...
>> >> >M.Wannamaker wrote:
>> >> >> Borland really needs to get a process to add new jdk's from SUN.
>> >> >
>> >> >100% agree.  100% on the case.
>> >> >
>> >> > - Joe Nuxoll
>> >
>> >--
>> >
>> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> >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
>> >=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>--
>
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>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: <6ba9qh$7nv2@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6a3ok3$jhs7@forums.borland.com> <34CF6D8F.7445F6E8@borland.com> <34D10E62.F3FB574C@corp.borland.com> <6argvt$62v$1@newsbell.bellglobal.com> <34D24D5B.4841A5F8@corp.borland.com> <6b4uqc$5488@forums.borland.com> <34D6089D.B4317041@corp.borland.com> <6b81tu$6mj8@forums.borland.com> <34D7A910.68D10063@corp.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a9c30db1a74f3eab
X-Google-Attributes: gidf74b3,public
From: "Bryan E. Boone" <sasbeb@wnt.sas.com>
Subject: Re: JDK 1.2 beta, can JBuilder use?
Date: 1998/02/04
Message-ID: <6ba9qh$7nv2@forums.borland.com>
X-Deja-AN: 322051813
References: <6a3ok3$jhs7@forums.borland.com> <34CF6D8F.7445F6E8@borland.com> <34D10E62.F3FB574C@corp.borland.com> <6argvt$62v$1@newsbell.bellglobal.com> <34D24D5B.4841A5F8@corp.borland.com> <6b4uqc$5488@forums.borland.com> <34D6089D.B4317041@corp.borland.com> <6b81tu$6mj8@forums.borland.com> <34D7A910.68D10063@corp.borland.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: None
Newsgroups: borland.public.jbuilder.java.language