[netbeans] 47/49: Add netbeans-com.sun.tools.hc.patch

Markus Koschany apo-guest at moszumanska.debian.org
Sat Dec 26 20:44:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository netbeans.

commit aa83fcfe2ea1346ce4feb8be358adc3b8d89339c
Author: Markus Koschany <apo at debian.org>
Date:   Sat Dec 26 20:08:03 2015 +0100

    Add netbeans-com.sun.tools.hc.patch
---
 debian/patches/netbeans-com.sun.tools.hc.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/netbeans-com.sun.tools.hc.patch b/debian/patches/netbeans-com.sun.tools.hc.patch
new file mode 100644
index 0000000..7650c81
--- /dev/null
+++ b/debian/patches/netbeans-com.sun.tools.hc.patch
@@ -0,0 +1,25 @@
+From: Markus Koschany <apo at debian.org>
+Date: Sat, 26 Dec 2015 20:07:41 +0100
+Subject: netbeans com.sun.tools.hc
+
+Fix a compilation error due to missing package com.sun.tools.hc
+
+Forwarded: http://hg.netbeans.org/main-silver/diff/e332ef83926a/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java
+---
+ .../modules/java/source/parsing/CachingArchiveClassLoader.java         | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java b/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java
+index a4b8abc..d4df87c 100644
+--- a/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java
++++ b/java.source.base/src/org/netbeans/modules/java/source/parsing/CachingArchiveClassLoader.java
+@@ -106,7 +106,8 @@ public final class CachingArchiveClassLoader extends ClassLoader {
+                             }
+                             return defineClass(
+                                     name,
+-                                    com.sun.tools.hc.LambdaMetafactory.translateClassFile(buffer,0,len),
++                                    //com.sun.tools.hc.LambdaMetafactory.translateClassFile(buffer,0,len),
++                                    buffer,
+                                     0,
+                                     len);
+                         } catch (FileNotFoundException fnf) {
diff --git a/debian/patches/series b/debian/patches/series
index 551e0a8..fc9cdc2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -29,3 +29,4 @@ netbeans-extexecution.impl.patch
 netbeans-svnclient.patch
 javaewah-version.patch
 netbeans-wildUpperBound.patch
+netbeans-com.sun.tools.hc.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/netbeans.git



More information about the pkg-java-commits mailing list