Comments (6)
Checked out the source to search for your email address because when I started
hosting a [email protected] I did not get emails about added issues and had to
enable it from somewhere.
Anyways I compiled it with jdk1.4 and can use the updated the version.
Hopefully the
final version will be compiled against 1.4 as it did compile with 1.4 at the
moment.
I've added a build.xml diff although it is easier just to go in and change the 2
lines by hand.
Nice tool, thx :)
Original comment by [email protected]
on 4 Jul 2007 at 1:22
Attachments:
from jarjar.
Previously jarjar would run on JDK 1.2+. Because the license has changed to
Apache 2
I had to remove the use of GNU classes and switch to Java regexps, which are in
1.4+.
I figured that I might as well just make it 1.5 and then I could rewrite jarjar
using
generics, annotations, etc.
Can I ask why you need to use jarjar in a 1.4 environment? Perhaps I will
investigate
retroweaver. In the meantime I'll make sure that rc5 is 1.4 compatible.
Original comment by [email protected]
on 5 Jul 2007 at 12:01
from jarjar.
The project I'm involved in uses jdk1.4. I have different jdks installed and can
compile everything for the targets I'm interested in (1.4 in this case)
whichever >
1.4 jdk I use. So I don't have to use jarjar in a 1.4 environment, I just have
to
reconfigure a bit my system.
As this is a big step (jdk1.4 -> java5) for rc3->rc4 (probably one of the last
RC's
before release) and did not notice a changelog (well i did not search for it,
it is
usually thrown in the face :) ) stating the change I figured it must have
happened by
mistake.
Until you start using the features Java5 offers please maintain 1.4
compatibility as
more users will have a better out-of-the-box experience.
Original comment by [email protected]
on 5 Jul 2007 at 12:56
from jarjar.
I've uploaded rc5 which is the same as rc4 but compiled to JDK-1.4-compatible
bytecode. I've also added a changelog which is linked from the home page.
I will revisit upgrading to 1.5 for jarjar 1.1.
Original comment by [email protected]
on 5 Jul 2007 at 1:27
- Changed state: Fixed
from jarjar.
[deleted comment]
from jarjar.
In addition, it seems to me 1.0rc6 can't scan jars that were built under 1.6?
I'm
getting:
Exception in thread "main"
java.lang.IllegalStateException: ClassReader.accept() should be called with
EXPAND_FRAMES flag
at com.tonicsystems.jarjar.asm.commons.LocalVariablesSorter.visitFrame
at com.tonicsystems.jarjar.asm.commons.RemappingMethodAdapter.visitFrame
at com.tonicsystems.jarjar.asm.ClassReader.accept
at com.tonicsystems.jarjar.asm.ClassReader.accept
at com.tonicsystems.jarjar.DepFind.run(DepFind.java:56)
at com.tonicsystems.jarjar.Main.find(Main.java:72)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
at sun.reflect.DelegatingMethodAccessorImpl.invoke
at java.lang.reflect.Method.invoke(Method.java:597)
at com.tonicsystems.jarjar.IoUtils.runMain(IoUtils.java:98)
at com.tonicsystems.jarjar.Main.main(Main.java:40)
Original comment by [email protected]
on 20 Nov 2007 at 5:09
from jarjar.
Related Issues (20)
- Resources repackaged but not zapped
- Upgrade to ASM 4 HOT 5
- Missing 1.2 in Maven Central HOT 3
- Fix up Export-Package in MANIFEST.MF when running jar jar.
- jarjarXXXXXX.jar files are not deleted from the temp directory
- Jarjar rules file syntax should support comments HOT 1
- Provide public API for reusing jarjar as library (e.g. in a gradle task)
- The jarjar-1.4 binary package is empty
- jarjar-1.4.jar package does not contain any class file
- Java source filenames ignored by jarjar rules that work for classes.
- jarjar should rename inner $SwitchMap$com$foo$MyEnum class generated by enum switch
- version 1.4 not published in maven
- Empty directories in jar HOT 1
- Class not included in jar but it should be
- Please add to wiki (i'll be happy to if i have permission) a command line example with conversion of jar
- jarjar fails to repackage Java8 classes
- jarjar doesn't support JDK8/JDK9 HOT 1
- Support single class files as the classpath(s) to "find"
- Jarjar not shrink jar library
- Not exported to GitHub by the maintainers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jarjar.