Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 157517 - JTree.getSelectionModel().setSelectionMode throws exception
JTree.getSelectionModel().setSelectionMode throws exception
Product: Fedora
Classification: Fedora
Component: gcc4 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
Depends On:
Blocks: FC5Blocker
  Show dependency treegraph
Reported: 2005-05-12 03:40 EDT by Pete Zaitcev
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-03 16:39:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
gtest1.java (1.49 KB, text/plain)
2005-05-12 03:43 EDT, Pete Zaitcev
no flags Details
Device.java (3.65 KB, text/plain)
2005-05-12 03:43 EDT, Pete Zaitcev
no flags Details

  None (edit)
Description Pete Zaitcev 2005-05-12 03:40:00 EDT
And a strange exception at that... This is the code:

        	final JTree tree = new JTree(super_root);
	} catch(Exception e) {
            System.err.println("Exception at start");

The code fails to print the name (e.getMessage() returns "null"):

[zaitcev@lembas gtest1]$ gcj -C gtest1.java
[zaitcev@lembas gtest1]$ gcj -C Device.java
[zaitcev@lembas gtest1]$ /usr/java/jdk1.5.0_01/bin/java gtest1
# (the above works just fine - posts empty window)
[zaitcev@lembas gtest1]$ gij gtest1
Exception at start


gcc-java               4.0.0-4
Comment 1 Pete Zaitcev 2005-05-12 03:43:01 EDT
Created attachment 114282 [details]

The test case. This needs one more file to operate (Device.java).
Comment 2 Pete Zaitcev 2005-05-12 03:43:36 EDT
Created attachment 114283 [details]
Comment 3 Thomas Fitzsimmons 2005-11-10 16:38:18 EST
Anthony, will you see if this bug is fixed in GNU Classpath HEAD?
Comment 4 Lillian Angel 2005-11-10 18:20:29 EST
Works with Classpath+jamvm perfectly

$ jamvm gtest1
mark 5
mark 6
Comment 5 Thomas Fitzsimmons 2005-11-10 18:40:00 EST
Great, I'll wait until the fixes make their way into Rawhide via libgcj before
closing this bug.
Comment 6 Pete Zaitcev 2005-11-10 20:02:17 EST
So, what version of gcj is this? I can close the bug myself once it turns over.
Comment 7 Thomas Fitzsimmons 2005-11-10 22:18:13 EST
I'm pretty sure it'll be in gcj 4.1 when that hits Rawhide.  At that point,
retest and close the bug if it's fixed.
Comment 8 Pete Zaitcev 2006-02-03 18:21:37 EST
Confirmed fixed with gcc-java-4.1.0-0.12

Note You need to log in before you can comment on or make changes to this bug.