English 中文(简体)
JDK6 图书馆——与JDK7的兼容
原标题:JDK6 libraries - compatibility with JDK7
  • 时间:2011-11-22 19:37:59
  •  标签:
  • java-7
  • jdk6

JDK7是否落后于JDK 6? 具体说来,如果我用JDK6汇编了一些词汇,我是否能够在JDK7开发过程中使用这些词汇?

问题回答

JDK7是否落后于JDK 6?

  • Read official document about incompatibilities between JDK 6 and 7
  • Look at this table for independent analysis of API changes. The backward binary and source compatibility of Jre classes between 6 and 7 versions is estimated at 95%:

“entergraph

......

“entergraph

该报告由japi- compliance-checker工具生成。

你们能够使用以前的JREs/JDKs的班级档案。 支持兼容性。 然而,你得 won后退学(例如,JDK7, 更早的JRE/JDK)。 JDK7的班级档案格式已经改变,以反映如下内容:invokedynamic

https://stackoverflow.com/questions/6699347/jdk-7-class-file-backward-compatibility-with-jdk-6"。

是的,你当然可以在你目前的发展中使用较老的杰尔文档和class子文档,新编辑者:





相关问题
Java G1 garbage collection in production

Since Java 7 is going to use the new G1 garbage collection by default is Java going to be able to handle an order of magnitude larger heap without supposed "devastating" GC pause times? Has anybody ...

Recursively list files in Java

How do I recursively list all files under a directory in Java? Does the framework provide any utility? I saw a lot of hacky implementations. But none from the framework or nio

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 ...

Is there something like LINQ for Java? [closed]

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 JavaScript implementation. Also (as ...

Java Closures - Current State

There have been many threads that correspond to this topic. What’s the current state of closures in Java? Closures in Java 7 All of the inputs have been that java 7 is NOT getting closures. It ...

How do I rename (not move) a file in Java 7?

I m a bit confused with all these new File I/O classes in JDK7. Let s say, I have a Path and want to rename the file it represents. How do I specify the new name, when again a Path is expected? Path ...

closures mean fully type-safe criteria?

combining closures (FCM) and generics, would it be possible to have fully type-safe criteria. // The following works without a cast as Foo.id is a long field. List<Long> ids = session....

热门标签