Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   BugFix for CANJaguar code. (http://www.chiefdelphi.com/forums/showthread.php?t=86289)

LukeS 11-07-2010 02:04

BugFix for CANJaguar code.
 
I could not find a way to submit a patch on the FIRST Forge tracker.
So, I am posting this here, and emailing it to the maintainers listed on FIRST Forge.
[edit]I'll also cross-post to the USFIRST forums once I get the email reminding me what my password is. The system isn't liking me, so if anyone wants to cross-post for me, that's fine.[/edit]

I have created a modified version of the CANJaguar code for Java, that
fixes Bug artf1172, which causes to the JVM to throw an exception and
stop on any IO error on the CAN bus. Several of you have commented on this in the WPILIB feedback thread.

To do this I basically threw IOExceptions instead of runtime exceptions.
This shoves error handling closer to the user, breaking source
compatibility.

Since the user must now handle exceptions themselves, breaking
source-compatibility. For this reason, I have also created the class
SafeCANJaguar, which handles all exceptions for the user, preserving
source compatibility.

Since I feel that I do not have authority to publish to
edu.wpi.first.addons, and to avoid confusion do to incompatible changes,
I have moved the files to `org.mckenzierobotics.CAN'.

http://lukeshu.ath.cx/CANJaguar for ...7.11.01.44.zip

Kingofl337 18-10-2010 17:13

Re: BugFix for CANJaguar code.
 
Join the CANJava project and then you can post.

jhersh 18-10-2010 19:37

Re: BugFix for CANJaguar code.
 
Quote:

Originally Posted by Kingofl337 (Post 977624)
Join the CANJava project and then you can post.

You don't even need to join the project... you just need to login to FIRST Forge.

jhersh 24-10-2010 03:01

Re: BugFix for CANJaguar code.
 
Quote:

Originally Posted by LukeS (Post 968716)

Your link is bad. Please log into firstforge.wpi.edu and create a new tracker for this and directly attach the file to the tracker. Here's a link to the Java tracker for CAN Jaguar: http://firstforge.wpi.edu/sf/tracker...aguar_for_java

-Joe

Joe Ross 24-10-2010 09:42

Re: BugFix for CANJaguar code.
 
The new link is http://lukeshu.ath.cx/1/FRC/files/CA...7.11.01.44.zip


All times are GMT -5. The time now is 09:35.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi