Home Tags Java

Tag: java

Oracle has a plan to make Java 9 migration easier

It will be easier to migrate code to the planned Java 9 release, due in late July, if the committee that managed Java approves a proposal just made by Oracle to better accommodate modularity, the key new feature in Java 9. Oracle made the proposal after getting strong opposition to its modularization plans from the Java communityIn a proposal floated Thursday, Mark Reinhold, Oraclersquo;s chief Java architect, said strong encapsulation of JDK-internal APIs has caused worries that code that works on JDK 8 will not work on JDK 9 and that no advance warning of this was given in JDK 8. “To help the entire ecosystem migrate to the modular Java platform at a more relaxed pace, I hereby propose to allow illegal reflective access from code on the class path by default in JDK 9, and to disallow it in a future release,” he said.To read this article in full or to leave a comment, please click here

Google endorses Kotlin for Android development

Googlersquo;s Java-centric Android mobile development platform is adding the Kotlin language as an officially supported development language, and will include it in thenbsp;Android Studio 3.0 IDE.
Its developers had previously promoted Kotlin for Android development.The revelation was made Wednesday by Google Program Manager Stephanie Saad Cuthbertson at the Google IO developer conference.

This is the first time a new programming language has been added to Android. “It makes developers so much more productive.
It is fully Android runtime-compatible, it is fully interoperable with existing code, it has fabulous IDE support,“ she said.To read this article in full or to leave a comment, please click here

Oracle’s Java chief debunks ‘misconceptionsrsquo; about Java 9

Looking to stave off criticism of the now-jeopardized Java 9 release, Oraclersquo;s top Java official defended the platform against what he termed falsehoods around its accommodations for Apache Maven, third-party frameworks, and existing code.“There seem to be many misconceptions out in the world about what Java 9 is, what the Jigsaw module system is, how itrsquo;s going to impact people,” said Mark Reinhold, chief architect of the Java platform group at Oracle, at the Devoxx UK conference in London last week.

Today in an online post, he addressed what he sees as the three biggest misconceptions around Java 9.To read this article in full or to leave a comment, please click here

Ztorg: money for infecting your smartphone

This research started when we discovered an infected Pokeacute;mon GO guide in Google Play. We detected the malware as Trojan.AndroidOS.Ztorg.ad.

After some searching, I found some other similar infected apps that were being distributed from the Google Play Store.

After I started tracking these infected apps, two things struck me – how rapidly they became popular and the comments in the user review sections.

WannaCry ransomware used in widespread attacks all over the world

Earlier today, our products detected and successfully blocked a large number of ransomware attacks around the world.
In these attacks, data is encrypted with the extension “.WCRYrdquo; added to the filenames. Our analysis indicates the attack, dubbed “WannaCryrdquo;, is initiated through an SMBv2 remote code execution in Microsoft Windows.

Java vs. Google’s Go: An epic battle for developer mind share

Go vs. Java isn’t a well-matched battle between equals. One is a monstrous heavyweight that has dominated the industry for years.

The other is a scrappy, lightweight newcomer that shows plenty of youth and promise but has only a few punches.Java and Go also tackle different niches. One is aimed squarely at server-side web apps, an area where the other was once a major player.

The other has outgrown life in the racks and is now a popular choice for devices.[ Also on InfoWorld: Tap the power of Google's Go language. | The best Go language IDEs and editors. | The big 4 Java IDEs reviewed: See how Eclipse, NetBeans, JDeveloper, and IntelliJ IDEA stack up. | Keep up with hot topics in programming with InfoWorld's App Dev Report newsletter. ]But not everyone has moved away from Java on the server side of web applications, territory Go is attacking, eating away at Java’s base.

And the switch isn’t a terribly great leap, as the two are similar in many aspects.

Both are loving homages to C, if not underneath, at least on the surface where many developers spend their lives grappling with syntax.

They are both straightforward and imperative with enough structural similarities that it’s not hard to convert code between the two. (The TardisGo project, for instance, is one tool that will turn Go into Java, C#, or JavaScript.)To read this article in full or to leave a comment, please click here

IDG Contributor Network: Is functional programming better for your startup?

Even though functional programming has been around for over half a century, it has never gained the kind of popularity anywhere near what imperative programming (e.g.

C, Java) achieved. Nevertheless, it seems to have been increasingly talked about i...

Java modularity specification opposed by Red Hat, IBM is voted down

A Java modularity specification failed to pass in a vote by Java executive committee members, leaving the future of the technology in question. The issue could hold up the planned July 27 release of Java 9, which is slated to include modularity.Balloting on Java Specification Request 376 was completed on Monday.

The modular plan for Java, intended to make it easier to scale the platform, has been opposed by companies including Red Hat and IBM. Red Hat, in particular, questioned many parts of the plan, including raising issues about potential application compatibility problems.To read this article in full or to leave a comment, please click here

Oracle hits back at modular Java critics

With voting on a module system for Java set to close within the Java community, a high-ranking official at Oracle is again defending the plan amid criticism from Red Hat.Modularity is the main feature in Java 9, which is due to arrive July 27—if the disagreement over modularization does not hold up the release. Oracle's Mark Reinhold, chief architect in the company's Java platform group, sent out an email on an openjdk mailing list Monday, arguing the issues being brought up have already been covered.To read this article in full or to leave a comment, please click here

Java and C continue to decline in popularity

Keep on moving over, Java and C. Other languages are closing the popularity gap.That's the gist of this month's Tiobe index, which gauges language popularity based on a formula assessing search-engine activity. While still ranking number one and two in the index, Java and C continue to see their shares dwindle as other languages capture attention.[ The art of programming moves rapidly.
InfoWorld helps you navigate what’s running hot and what's going cold. | Keep up with main topics in programming with InfoWorld’s App Dev Report newsletter. ]
"Java and C are in a heavy downward trend since the beginning of 2016.

Both languages have lost more than [six percentage points] if compared to last year," according to report accompanying the index. Java's rating is 14.639 percent this month, down 6.32 points, more than 30 percent from May 2016.

The situation is even more dire for C; it declined 6.22 points from a year ago to 7.002 percent, a decline of nearly 48 percent.To read this article in full or to leave a comment, please click here

Java modular battle heats up as Oracle criticizes Red Hat, IBM

Amidst a budding controversy surrounding the module system planned for Java, Oracle’s chief Java architect, Mark Reinhold, lashed out today at Red Hat and IBM’s opposition, saying the companies are just guarding their own self interests.In an open letter to the Java Community Process (JCP) Executive Commitee published Friday morning, Reinhold was highly critical of the two rival vendors.

The current disagreement centers on Java Specification Request 376, which focuses on the module system featured as part of Project Jigsaw. Red Hat Mid­dle­ware ini­tially agreed to the goals and re­quire­ments of the JSR, but then worked con­sis­tently to un­der­mine them, Reinhold said.To read this article in full or to leave a comment, please click here

Oracle rethinks modular Java plan after Red Hat’s objections

Oracle's chief Java architect has proposed tweaks to Java's modular plan.

The revisions were said to be not in response to recent objections by Red Hat and IBM, but they do appear to address one of the concerns.In a post to an openjdk mailing list o...