This is mainly a bugfix release, but contains a very important new piece: Java Update feature is installed when the J2RE is installed, and it can automatically update your computer with the latest J2RE release. It also contains new java logo. Read the release notes and download.
and it incoorporates the cool new java logo. –; ) hopefully eugenia will replace the old one used by osnews. (its the 4th time i’m suggesting this.)
It is the FIRST time that *I* was ASKED about it. I was never emailed about it before AFAIK. If you count comments on random osnews stories as “requests” then you are out of luck, because I dont read all 600 comments every day, plus I am currently on vacations with limited internet access for a month now.
Read your email, I replied to this matter just before you commented this. It is really irritating the way you are bouldozing yourself in without knowing facts (e.g. that I am on holidays with little or no internet connection, let alone access to decent graphics packages that I require before optimizing the icons).
If you want something, you email ME directly, otherwise there is a 95 percent chance that I wont find out about it.
she says she had warned me gazillion times to be careful with the way i talk (probably she didn’t like the tone of my news text as a goddess), but she will be nice once again, and do it when she has time.
thanks eugenia.
kisses.
kaan.
thanks again. –: )
There you are, the new logo. I had to download PSP on my father-in-law’s WinME PC in order to do the job…
Eugenia had to go to all that trouble for this? It looks just like the old logo, draw with a steadier hand.
…I found in javac in the lastest beta, So I downloaded this version yesterday and it was fixed. Yay!
Anyway, here is the bug report that I was prepared to fire (for historical purposes )
Machine: Intel Pentium III (Coppermine) 900Mhz w/320MB (RAM)
OS: RedHat Linux 8.0
JDK version: 1.4.2-beta
IDE: NetBeans 3.5
Bug Description: javac uncaught exception
Consider the following code:
———————————————————————- ———-
package pt.testes.javac_bug;
import javax.swing.*;
/**
*
* @author João
*/
public class A extends JPanel {
/** Creates a new instance of A */
public A() { }
public void update(A a) {
// note: JPanel implements an void update(Graphics g) method
}
public static void main(String[] args) {
A a=new A();
a.update(null);
}
}
———————————————————————- ———-
I get the following error (uncaught exception) when compilling from javac
An exception has occurred in the compiler (1.4.2-beta). Please file a bug at the Java Developer Connection (http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.ClassCastException
at com.sun.tools.javac.v8.comp.Resolve$AmbiguityError.report(Resolve.java :1255)
at com.sun.tools.javac.v8.comp.Resolve.access(Resolve.java:691)
at com.sun.tools.javac.v8.comp.Resolve.resolveQualifiedMethod(Resolve.jav a:818)
at com.sun.tools.javac.v8.comp.Attr.selectSym(Attr.java:1134)
at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java:1076)
at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java:213)
at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java:733)
at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java:221)
at com.sun.tools.javac.v8.comp.Attr.visitExec(Attr.java:572)
at com.sun.tools.javac.v8.tree.Tree$Exec.accept(Tree.java:773)
at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235)
at com.sun.tools.javac.v8.comp.Attr.attribStats(Attr.java:253)
at com.sun.tools.javac.v8.comp.Attr.visitBlock(Attr.java:384)
at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547)
at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235)
at com.sun.tools.javac.v8.comp.Attr.visitMethodDef(Attr.java:341)
at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java:482)
at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java:198)
at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java:235)
at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java:1378)
at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1356)
at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1332)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:355)
at com.sun.tools.javac.v8.Main.compile(Main.java:569)
at com.sun.tools.javac.Main.compile(Main.java:36)
at com.sun.tools.javac.Main.main(Main.java:27)
Errors compiling A.
Bottom line:
I tried to reproduce with a generic framework without success (javac issued
the correct answer – “Ambiguous call”) as showed bellow
———————————————————————- ———
package pt.testes.javac_bug;
/**
*
* @author kungph00
*/
public class A {
/** Creates a new instance of A */
public A() { }
public void dummy(A a) {}
}
———————————————————————- ———
package pt.testes.javac_bug;
import java.util.*;
public class B extends A {
/** Creates a new instance of B */
public B() { }
public void dummy(Integer i) { }
public static void main(String[] args) {
B b=new B();
b.dummy(null);
}
}
———————————————————————- ———
When compilling i get
pt/testes/javac_bug/B.java [26:1] reference to dummy is ambiguous, both method dummy(pt.testes.javac_bug.A) in pt.testes.javac_bug.A and method dummy(java.lang.Integer) in pt.testes.javac_bug.B match
b.dummy(null);
^
1 error
Errors compiling javac_bug.
Which is what i would expect with the former example…
And remove my name and e-mail address. It slipped me off. thanks.
It sucks they still keep using the Metal/Java look and feel for windows. I don’t hate it just that the new 1.4.2 Windows XP look and feel looks so good
To see the difference copy:
http://java.sun.com/docs/books/tutorial/uiswing/misc/example-1dot4/…
to: C:Program FilesJavaj2re1.4.2_01lib
then open Java WebStart
J2SE 1.5 is supposed to update the Metal/Java look and feel. Hope they also add a menu to change the look and feel.
http://www.innotek.de/products/javaos2/javaos2general_e.html
i’m using the 1.4.2 (not _01) at the moment for some projects. from their web pages and bugs-fixed list, i couldn’t really see any reason to upgrade and cause disruption.
and i wish software companies wouldn’t add “click here to upgrade” – people install software in all sorts of configurations, and the “click here to..” doesn’t always know about this, casuing a tangled system, and on windows, a registry gone haywire (… recalling manual removal of referneces to java from registry…). and its unecessary bloat.
t
Like this Java Update thing…not in the linux build as yet
Whats the situation so far with the new threading and Java? IIRC, there was a move by SUN to fix java up so that it can work without the ugly hack/env variable.
Are there any Redhat 9 users out there who are using it without any problems?
I was just wondering
SCO do their own Java Stuff. Too bad they’re more interesting in suing than serving their customers needs.