How should I approach adding a feature to the Java language? [closed] - java

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've seen a few neat features in other languages around Java like generators and the recent "await" feature, and I tried to implement some of them using bytecode manipulation. However, I think these are neat enough for most developers to make them a language feature. I've seen the kijaro project; however, there seems to be very little documentation on how to get on there. So, even if only for my own use and curiousity, how should I approach doing so?
Thanks!

Take a look at the article entitled "So you want to change the Java Programming Language..." on Oracle's blog.

Related

What is Robust in java [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I know that Robust is a Feature of java programming language. But I don't know what is the exact meaning of it and how to any programmer benefited by it.
It's a generic adjective that means different things for different people. There's no measure of robustness, so you can't say "this language is more robust than that".
It might be used to differentiate a language from a "toy" language, that isn't meant for general purpose programming, but you aren't going to find any clear definitions, because there isn't one.
Robust simply means heavy and strong and Java has a lot of facilities for programmers such as memory management, security features, networking features etc.
For details regarding exact meaning of feature "Robust", you can follow this link https://www.javatpoint.com/features-of-java

Android Studio Java decompiler [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I recently found out about Android Studio's decompiler and a few questions arose as I'm currently involved in an Android project. I just tried it and it generated near perfect code, surprisingly.
How good are Java decompilers nowadays? Are there protection mechanisms to prevent decompilation? Any security concerns to have in mind?
Best.
This questions is too broad. So I will split the questions and answers:
How good are Java decompilers nowadays?
Very good. You are likely to get readable classes back.
Are there protection mechanisms to prevent decompilation?
Yes, things like code obfuscators, or even other alternatives
Any security concerns to have in mind?
All security concerns are best kept in mind, depending on your application.
Against decompilers?
Not really, your code should be readable and still dont pose a threat to the system or its users. The best concept here would be the "white box" concept, in wich your code does not need to be hidden.
If you are handling something that should not be know, try executing it in a controlled enviromment, such as a controlled webservice.

Understanding how classes work in Java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm new to programming, and I started by learning python. However, now I'm watching a lecture series online by Stanford, and they use Java.
I'm having a hard time transitioning from Python to Java. Can someone please explain how classes work in Java in contrast to functions in Python? Public vs. Private seems strange. I've also heard 'methods' and been told they are similar to functions. Links to videos or other explanations are welcomed.
I realize this question does not have any code; but we all have to start somewhere. Thanks
You may find it better to take a step back and learn the basics of Object Oriented Programming, not necessarily related to Java specifically.
Some places to get you started:
http://docs.oracle.com/javase/tutorial/java/concepts/
http://www.codeproject.com/Articles/22769/Introduction-to-Object-Oriented-Programming-Concep
http://www.youtube.com/watch?v=c5kfCH50wl0
This is just a few, though you will find many more learning material around the web.

Tell me a library that makes your every day Java programming more enjoyable [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i Would like you to name a library that makes yor coding more enjoyable through everyday work. Is Java core language develops very slowly these days, what can you do to make up for it?
I start - Project Lombok
Thank you for your answers.
My choice would have to be spring. It so much to the table: dependancy injection, AOP as well as integration with many different libraries to the point where spring can handle the wiring for you and you just provide a pojo for spring to call.
I would say the Google Collections Library, which is now known as Guava.
It depends on what I need to do, but I would say several of the Apache Commons libraries (Collections, DbUtils, Digester, etc).
http://commons.apache.org/

is it possible to build a debugger around the java scripting engine? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
we are using the java 6 scripting engine in our product, and now we are thinking on adding some debugging abilities.
my question is:
is it possible? does the java 6 scripting engine has the same capabilities like rhino as far as debugging.
some documentation about how to start doing it, some code samples any information would be great since i could not find anything on the web.
thanks
I'd start by looking at how the open source Firebug (www.getfirebug.com) tool is implemented, unless you're completely wedded to the idea of a "pure" sand-boxed Rhino environment (and even then Firebug could probably teach you a few things).

Categories

Resources