eclipselabs / passerelle

Passerelle, an actor-based process engine based on Ptolemy II
5 stars 3 forks source link

JRE 1.8.0 compatibility and sun.io package #78

Open pkeller opened 9 years ago

pkeller commented 9 years ago

The DatagramReader and DatagramWriter classes use ByteToCharConverter, CharToByteConverter and ConversionBufferFullException from the sun.io package. These were deprecated in favour of java.nio.charset, and have been removed from JRE 1.8.0

As far as I can see, this is the only coding issue in the way of fully supporting 1.8.0 JREs (the remaining issues are just questions of getting the Execution Environments and build paths consistent).

This note is just for the record: I am not in a hurry for a fix, and I can work around this issue.

jinyanghuang commented 5 years ago

how did you workaround?

gsongcap commented 5 years ago

Interested to know how did you workaround.

pkeller commented 5 years ago

@jinyanghuang @gsongcap I am afraid that I can no longer find the modifications to the code that I made at the time, sorry. I never produced anything based on Passerelle at the time, I was just experimenting. As I remember, I recoded the DatagramReader and DatagramWriter classes to use classes from the java.nio.charset instead. It wasn't hard.

You should be aware though that the open-source Paserelle is not being actively maintained any longer. You may like to consider switching to is successor product Triquetrum, part of Eclipse Science.

@erwindl0 Can you suggest a good place to start for information about Triquetrum? Much of the Eclipse Foundation website seems to be non-functioning (or hacked?) at the moment. https://science.eclipse.org/ is working, but the "Projects" link gets a 404

erwindl0 commented 5 years ago

Back from some weeks offline.

The Eclipse Science projects site seems to be alive again as well.

You can check e.g. :

Christopher has been working on upgrading Triquetrum to recent Java (even a Java 12).

From: Peter Keller notifications@github.com Sent: Monday, 22 July 2019 12:08 To: eclipselabs/passerelle passerelle@noreply.github.com Cc: erwin de ley erwindl0@gmail.com; Mention mention@noreply.github.com Subject: Re: [eclipselabs/passerelle] JRE 1.8.0 compatibility and sun.io package (#78)

@jinyanghuang https://github.com/jinyanghuang @gsongcap https://github.com/gsongcap I am afraid that I can no longer find the modifications to the code that I made at the time, sorry. I never produced anything based on Passerelle at the time, I was just experimenting. As I remember, I recoded the DatagramReader and DatagramWriter classes to use classes from the java.nio.charset instead. It wasn't hard.

You should be aware though that the open-source Paserelle is not being actively maintained any longer. You may like to consider switching to is successor product Triquetrum, part of Eclipse Science.

@erwindl0 https://github.com/erwindl0 Can you suggest a good place to start for information about Triquetrum? Much of the Eclipse Foundation website seems to be non-functioning (or hacked?) at the moment. https://science.eclipse.org/ is working, but the "Projects" link gets a 404

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eclipselabs/passerelle/issues/78?email_source=notifications&email_token=ABRJTYKEGBCF2TKZF7RBK2LQAWBHVA5CNFSM4BO5ZL22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2POFRA#issuecomment-513729220 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABRJTYKYLRUYA7RNAQRR4Z3QAWBHVANCNFSM4BO5ZL2Q . https://github.com/notifications/beacon/ABRJTYJWVACB4ZL7NGACTPDQAWBHVA5CNFSM4BO5ZL22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2POFRA.gif