java-7

Any IcedTea war stories?

Okay, my first serious question. :-D I'm playing around with OpenJDK (7, not 6), and am about to start trying to build IcedTea on my Ubuntu system. I'm keen to hear from those who have played with IcedTea and have stories (successes, pitfalls, etc.) to tell. All stories welcome, whatever distribution you use. Chances are, I'll very soo...

New features in java 7

What new features in java 7 is going to be implemented? And what are they doing now? ...

What new features in java 7 do you find most useful?

From this thread New features in java 7 I found the new features in java from Alex Miller list Which ones do you find most useful and why? Which ones will be counterproducent? NOTE this list is not final and not all of them will make it through. ...

Closures in Java 7

I have heard that closures could be introduced in the next Java standard that is scheduled to be released somewhere around next summer. What would this syntax look like? I read somewhere that introducing closures in java is a bigger change than generic was in java 5. Is this true? pros and cons? (By now we definitely know that closur...

What are you looking forward to in Java 7?

Java SE 7 is the next major release for Java SE. The details are sketchy, same goes for timelines, although Alex Miller has a nice round-up, and generally a good place to start. Also, here is a summary of Java 7 update by Mark Reinhold, cheif engineer for Java SE. So, what major features scheduled for release are you looking forward t...

Arrays as proper objects

I have written a page here on using arrays as proper objects with their own methods instead of relying on helper classes like Arrays, Arrays and ArrayUtils. ints.sort(); // instead of Arrays.sort(ints); // instead of int[] onemore = ArrayUtils.add(ints, 8); int[] onemore = ints.add(8); I am sure I am not the first with this idea but...

What's the motivation for properties?

I'm a bit confused as to why languages have these. I'm a Java programmer and at the start of my career so Java is the only language I've written in since I started to actually, you know, get it. So in Java of course we don't have properties and we write getThis() and setThat(...) methods. What would we gain by having properties? Than...

Why will there be no native properties in Java 7?

Is there any rational reason, why native properties will not be part of Java 7? ...

What differences will Java 7 have from Java 6, and what will it mean to us Java programmers?

What differences will Java 7 have from Java 6, and what will it mean to us Java programmers? I'm very curious about what the future of java holds, and I've been able to find some info on Java 7, but I want to know what all that info really means. Like what will a modular JDK do for programs? See also: What are you looking forward to i...

What's the upcoming Java concurrency library: jsr166y? jsr166z?

Hello! I wanted to play around with the upcoming concurrency library which is going to be included in Java 7 according to this website. It seems to be named JSR166. In most places its reference implementation is referred as jsr166y, while few resources call it jsr166z. I discovered two totally different javadocs for each reference im...

Chained invocation in Java 7?

I was just reading a Java7 preview presentation (pdf) and there was a slide on Chained Invocation. Here is the example used in the slide: // Construction with setters DrinkBuilder margarita = new DrinkBuilder(); margarita.add(“tequila”); margarita.add(“orange liqueur”); margarita.add(“lime juice”); margarita.withRocks(); margarita.withS...

Best Java 7 features

Possible Duplicate: What new features in java 7 do you find most useful? What are some features that you like in the next version of Java? ...

Java 7 Date/Time API

I notice that a snapshot of the Java 7 API has been up on java.sun.com for some time, but I only just had a look through it just now, looking specifically for the promised JodaTime-inspired Date/Time API. Alas, I can find no mention of it in the published docs. Is this because it simply hasn't been done yet, and this published API is an...

JDK-7 SwingWorker deadlocks?

I have a small image processing application which does multiple things at once using SwingWorker. However, if I run the following code (oversimplified excerpt), it just hangs on JDK 7 b70 (windows) but works in 6u16. It starts a new worker within another worker and waits for its result (the real app runs multiple sub-workers and waits fo...

Is it possible to change the base millisecond refrence time 1970 to 2008 in java (like JSR-310)

I want to be able to change the base millisecond reference from 1970 to 2008 in java so that I can save space in the database and unique Ids. Preferably with Joda-Time. The upcoming jsr-310 in the supposed java 7 release implements it. In the The Discrete Timeline section of this link it states that the counting of milliseconds has ch...

JSR305 vs. JSR308 (Java Type Anotations) - Which is going to be the standard?

Hello! There seem to be two different JSRs for annotations. JSR-305: Annotations for Software Defect Detection (additional resource) JSR-308: Annotations on Java Types (additional resource) Both seem to be oriented towards static code analysis. Do you know: which of the both is going to be either in Java SE 7 or Java EE 6? how "s...

Java7 swing application framework support

The future of the Swing application framework on the Java 7 platform is undefined. http://weblogs.java.net/blog/archive/2009/08/19/saf-and-jdk7 Is it safely to use it now? ...

Binary Java 7 for Mac

Is there any binary release of Java 7 (using the Mac/BSD-port project) anywhere? Some blogs (e.g. Building Java 7 on Mac OS X) have a detailed instructions to build the jdk from source, but I was hoping that someone have a binary of it available for download. The problem with the instructions is that it's quite annoying to get all the ...

Is there something like LINQ for Java?

Started to learn LINQ with C#. Especially LINQ to Objects and LINQ to XML. I really enjoy the power of LINQ. I learned that there is something called JLINQ a Jscript implementation. Also (as Catbert posted) Scala will have LINQ Do you know if LINQ or something similar will be a part of Java 7? Update: Interesting post from 2008 - http...

What will Support for Dynamic Languages in Java 7 be like?

It seems JSR 292 will add support for dynamic languages to the JVM but I've not seen many details about it. Will dynamic types be incorporated into the language (or just the VM)? If so, what will the semantics look like? Will there be something like C# 4's: dynamic x = 10, y = 5; Console.WriteLine(x + y); ...