Skip to content
Commits on Source (5)
libnb-platform18-java (10.0-2) unstable; urgency=medium
* Update platform-osgi-update.patch and return an
UnsupportedOperationException instead of a NULL pointer.
* Add AutoUpdate-NEVER.patch and set the defaultCheckInterval to NEVER to
prevent automatic updates. This can be changed by users individually.
(Closes: #842284)
* Remove antlr-runtime symlink because it is not platform specific.
-- Markus Koschany <apo@debian.org> Fri, 25 Jan 2019 12:21:05 +0100
libnb-platform18-java (10.0-1) unstable; urgency=medium
* New upstream version 10.0.
......
......@@ -18,7 +18,7 @@ Build-Depends:
junit4 (>= 4.6),
libasm-java (>= 7.0),
libbindex-java,
libequinox-osgi-java (>= 3.9.1-3),
libequinox-osgi-java (>= 3.9.1-4),
libfelix-framework-java (>= 4.6.1),
libfelix-main-java,
libhamcrest-java,
......@@ -44,7 +44,7 @@ Depends:
javahelp2,
junit4 (>= 4.6),
libasm-java (>= 7.0),
libequinox-osgi-java,
libequinox-osgi-java (>= 3.9.1-4),
libfelix-framework-java (>= 4.6.1),
libfelix-main-java,
libhamcrest-java,
......
$JAVADIR/jna-platform.jar platform/libs.jna.platform/external platform/modules/ext jna-platform-4.4.0.jar
$JAVADIR/jhall.jar platform/javahelp/external platform/modules/ext jhall-2.0_05.jar
$JAVADIR/antlr3-runtime.jar ide/libs.antlr3.runtime/external ide/modules/ext antlr-runtime-3.4.jar
$JAVADIR/org.apache.felix.main.jar platform/libs.felix/external platform/modules/ext org.apache.felix.main-4.2.1.jar
$JAVADIR/jna.jar platform/libs.jna/external platform/modules/ext jna-4.4.0.jar
$JAVADIR/osgi.compendium.jar platform/libs.osgi/external platform/modules/ext org.osgi.compendium-4.2.0.jar
......
From: Markus Koschany <apo@debian.org>
Date: Fri, 25 Jan 2019 12:16:10 +0100
Subject: AutoUpdate NEVER
Set the defaultCheckInterval to NEVER by default to prevent automatic updates
which are mostly unnecessary on Debian systems. However it makes sense to
enable it again for specific plugins. This can be changed by users individually.
Bug-Debian: https://bugs.debian.org/842284
Forwarded: not-needed
---
.../org/netbeans/modules/autoupdate/ui/actions/AutoupdateSettings.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/platform/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/actions/AutoupdateSettings.java b/platform/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/actions/AutoupdateSettings.java
index f1eb866..bda248d 100644
--- a/platform/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/actions/AutoupdateSettings.java
+++ b/platform/autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/actions/AutoupdateSettings.java
@@ -124,7 +124,7 @@ public class AutoupdateSettings {
defaultCheckInterval = parse (Utilities.getCustomCheckIntervalInMinutes ());
}
if (defaultCheckInterval == null) {
- defaultCheckInterval = EVERY_WEEK;
+ defaultCheckInterval = NEVER;
}
err.log (Level.FINEST, "getPeriod () returns " + getPreferences ().getInt (PROP_PERIOD, defaultCheckInterval));
return getPreferences ().getInt (PROP_PERIOD, defaultCheckInterval);
......@@ -2,33 +2,36 @@ From: Markus Koschany <apo@debian.org>
Date: Sat, 19 Jan 2019 16:54:20 +0100
Subject: osgi-update
Compatibility patch with Debian's OSGI version.
Compatibility patch with Debian's version of OSGi.
---
platform/netbinox/src/org/netbeans/modules/netbinox/Netbinox.java | 8 ++++++++
1 file changed, 8 insertions(+)
.../netbinox/src/org/netbeans/modules/netbinox/Netbinox.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/platform/netbinox/src/org/netbeans/modules/netbinox/Netbinox.java b/platform/netbinox/src/org/netbeans/modules/netbinox/Netbinox.java
index a6a1dc1..664834b 100644
index a6a1dc1..ce68825 100644
--- a/platform/netbinox/src/org/netbeans/modules/netbinox/Netbinox.java
+++ b/platform/netbinox/src/org/netbeans/modules/netbinox/Netbinox.java
@@ -38,6 +38,8 @@ import org.osgi.framework.InvalidSyntaxException;
@@ -38,6 +38,9 @@ import org.osgi.framework.InvalidSyntaxException;
import org.osgi.framework.ServiceListener;
import org.osgi.framework.ServiceReference;
import org.osgi.framework.ServiceRegistration;
+import org.osgi.framework.ServiceObjects;
+import org.osgi.framework.ServiceFactory;
+import java.lang.UnsupportedOperationException;
/**
*
@@ -216,5 +218,11 @@ class Netbinox extends Equinox {
@@ -216,5 +219,13 @@ class Netbinox extends Equinox {
public void addBundleListener(BundleListener bl) {
delegate.addBundleListener(bl);
}
+ @Override
+ public <S> ServiceObjects<S> getServiceObjects(ServiceReference<S> refer) {
+ return null;
+ throw new UnsupportedOperationException();
+ }
+ @Override
+ public <S> ServiceRegistration<S> registerService(Class<S> clazz, ServiceFactory<S> factory, Dictionary<String,?> dictio) {
+ return null;
+ throw new UnsupportedOperationException();
+ }
} // end of Context
}
......@@ -16,3 +16,4 @@ platform-osgi-update.patch
platform-xhr4j.patch
platform-harness-launchers.patch
platform-nbi.patch
AutoUpdate-NEVER.patch