@@ -100,9 +100,10 @@ public class JavaEditor extends Editor {
100
100
static final int REFERENCE_PORT = 8053 ;
101
101
// weird to link to a specific location like this, but it's versioned, so:
102
102
static final String REFERENCE_URL =
103
- "https://github.com/processing/processing-website/releases/download/2022-10-05-1459/reference.zip" ;
103
+ "https://github.com/processing/processing4/releases/tag/processing-1300-4.4.0" ;
104
+ static final String REFERENCE_URL_2 = "https://github.com/processing/processing4/releases/download/processing-1300-4.4.0/processing-4.4.0-reference.zip" ;
104
105
Boolean useReferenceServer ;
105
- WebServer referenceServer ;
106
+ ReferenceServer referenceServer ;
106
107
107
108
108
109
protected JavaEditor (Base base , String path , EditorState state ,
@@ -846,7 +847,7 @@ public void showReference(String name) {
846
847
}
847
848
if (referenceZip .exists ()) {
848
849
try {
849
- referenceServer = new WebServer (referenceZip , REFERENCE_PORT );
850
+ referenceServer = new ReferenceServer (referenceZip , REFERENCE_PORT );
850
851
useReferenceServer = true ;
851
852
852
853
} catch (IOException e ) {
@@ -889,7 +890,7 @@ private boolean isReferenceDownloaded() {
889
890
890
891
private void downloadReference () {
891
892
try {
892
- URL source = new URL (REFERENCE_URL );
893
+ URL source = new URL (REFERENCE_URL_2 );
893
894
HttpURLConnection conn = (HttpURLConnection ) source .openConnection ();
894
895
HttpURLConnection .setFollowRedirects (true );
895
896
conn .setConnectTimeout (15 * 1000 );
0 commit comments